public function testApisolver_InvokesProperAction()
{
$ex = new Exception();
$params = ['hash' => 'hash'];
$result = new StdClass();
$call = $this->getMock(Request::class, [], [], '', false);
$call->expects($this->once())->method('call')->will($this->returnValue($result));
$solver = $this->createSolver([], ['createRequest']);
$solver->expects($this->once())->method('createRequest')->with($this->isInstanceOf(ChannelInterface::class), 'parent', $this->isInstanceOf(RuntimeCommand::class))->will($this->returnValue($call));
$this->createChannel();
$this->assertSame($result, $this->callProtectedMethod($solver, 'solver', [$ex, $params]));
}