public function testApiHandler_ThrowsException() { $solver = $this->createSolver(); $this->setExpectedException(RejectionException::class); $this->callProtectedMethod($solver, 'solver', [new Exception(), []]); }