Kraken\_Unit\Supervision\SupervisorTest::testApiGetSolver_ReturnsHandler_WhenHandlerDoesExist PHP Method

testApiGetSolver_ReturnsHandler_WhenHandlerDoesExist() public method

    public function testApiGetSolver_ReturnsHandler_WhenHandlerDoesExist()
    {
        $super = $this->createSupervisor([], [Exception::class => $solver = $this->createSolver()]);
        $this->assertSame($solver, $super->getSolver(Exception::class));
    }