Kraken\_Unit\Runtime\Command\RuntimeContinueTest::testApisolver_InvokesProperAction PHP Method

testApisolver_InvokesProperAction() public method

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