public function testCallLocale() { $args = array('1' => '-l', '2' => 'en-GB', '3' => 'test'); $fakeConsole = new FakeConsole($args); $result = (string) $fakeConsole->run(); $this->assertTrue(strlen($result) > 0); }