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

testApiSetSolver_AcceptsHandler_WhenConcreteHandlerIsPassed() public method

    public function testApiSetSolver_AcceptsHandler_WhenConcreteHandlerIsPassed()
    {
        $super = $this->createSupervisor();
        $super->setSolver(Exception::class, $solver = $this->createSolver());
        $result = $super->getSolver(Exception::class);
        $this->assertSame($solver, $result);
    }