JsLibrary = new JsLibrary($this->type, $this->content, $this->featureName); } /** * Cleans up the environment after running a test. */ protected function tearDown() { $this->JsLibrary = null; parent::tearDown(); } /** * Tests JsLibrary->getContent() */ public function testGetContent() { $content = trim($this->JsLibrary->getContent()); $this->assertEquals($this->content, $content); } /** * Tests JsLibrary->toString() */ public function testToString() { $output = $this->JsLibrary->toString(); $this->assertEquals("", $output); } }