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

testApiSetSolver_ThrowsException_WhenAtLeastOneHandlerIsInvalid() public method

    public function testApiSetSolver_ThrowsException_WhenAtLeastOneHandlerIsInvalid()
    {
        $super = $this->createSupervisor();
        $this->setExpectedException(IllegalCallException::class);
        $super->setSolver(Exception::class, ['TestHandler', 'OtherHandler']);
    }