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