LinkSpec = new LinkSpec('rel', 'href', 'method'); } /** * Cleans up the environment after running a test. */ protected function tearDown() { $this->LinkSpec = null; parent::tearDown(); } /** * Tests LinkSpec->__construct() */ public function test__construct() { $this->LinkSpec = new LinkSpec('rel', 'href', 'method'); } /** * Tests LinkSpec->getHref() */ public function testGetHref() { $this->assertEquals('href', $this->LinkSpec->getHref()); } /** * Tests LinkSpec->getMethod() */ public function testGetMethod() { $this->assertEquals('method', $this->LinkSpec->getMethod()); } /** * Tests LinkSpec->getRel() */ public function testGetRel() { $this->assertEquals('rel', $this->LinkSpec->getRel()); } }