Kraken\_Unit\Supervision\SupervisorTest::testApiSetSolver_AcceptsHandler_WhenConcreteHandlerIsPassed PHP Метод

testApiSetSolver_AcceptsHandler_WhenConcreteHandlerIsPassed() публичный Метод

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