view = new TestView($this->container); $this->friend = new Friend($this->view); } public function testGetOutput() { $this->friend->output = 'foo'; $this->assertEquals($this->friend->output, $this->friend->getOutput()); } public function testSetOutput() { $same = $this->view->setOutput('
'); $this->assertEquals($same, $this->view); $this->assertEquals('', $this->view->getOutput()); } public function testAppendOutput() { $this->view->setOutput('