public function testOut() { $command = new MockCommand(array('request' => $this->request)); $expected = "ok\n"; $result = $command->out('ok'); $this->assertEqual($expected, $result); }