public function testApiCommand_InvokesProperAction() { $command = $this->createCommand(); $result = $this->callProtectedMethod($command, 'command', []); $this->assertSame(gethostbyname(gethostname()), $result); }