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

testApiRemoveSolver_RemovesHandler_WhenHandlerDoesExist() public method

    public function testApiRemoveSolver_RemovesHandler_WhenHandlerDoesExist()
    {
        $super = $this->createSupervisor([], [Exception::class => $solver = $this->createSolver()]);
        $this->assertTrue($super->existsSolver(Exception::class));
        $super->removeSolver(Exception::class);
        $this->assertFalse($super->existsSolver(Exception::class));
    }