/** * */ public function testRunInvalidJSONRequest() { $request = self::REQUEST_JSON_ERROR; $response = self::RESPONSE_JSON_ERROR; $server = new Server($this->getTransportMockServerRun($request), new TestCalleeObject()); $this->expectOutputString("{$response}"); $server->run(); $this->assertEquals("[request]{$request}[response]{$response}", $this->log); }