FeatureSpec = new FeatureSpec(); $this->FeatureSpec->name = 'name'; $this->FeatureSpec->optional = 'optional'; $this->FeatureSpec->params = 'params'; } /** * Cleans up the environment after running a test. */ protected function tearDown() { $this->FeatureSpec = null; parent::tearDown(); } /** * Tests FeatureSpec->getName() */ public function testGetName() { $this->assertEquals('name', $this->FeatureSpec->getName()); } /** * Tests FeatureSpec->getParams() */ public function testGetParams() { $this->assertEquals('params', $this->FeatureSpec->getParams()); } /** * Tests FeatureSpec->isOptional() */ public function testIsOptional() { $this->assertEquals('optional', $this->FeatureSpec->isOptional()); } }