public function testApisolver_InvokesProperAction()
{
$ex = new Exception();
$origin = 'origin';
$hash = 'hash';
$result = new StdClass();
$solver = $this->createSolver();
$manager = $this->createManager();
$manager->expects($this->once())->method('stopRuntime')->with($origin)->will($this->returnValue($result));
$this->assertSame($result, $this->callProtectedMethod($solver, 'solver', [$ex, ['origin' => $origin, 'hash' => $hash]]));
}