ExceptionsHandler extends BaseExceptionHandler<ResponseEntity> { @ExceptionHandler(InvalidLifeCyclePhaseException.class) public ResponseEntity toResponse(InvalidLifeCyclePhaseException exception) { return mapException(exception); }  @ExceptionHandler(InvalidLifeCyclePhaseException.class) ResponseEntity toResponse(InvalidLifeCyclePhaseException exception); @ExceptionHandler(InvalidTransitionException.class) ResponseEntity toResponse(InvalidTransitionException exception); @ExceptionHandler(NodeInstanceNotFoundException.class) ResponseEntity toResponse(NodeInstanceNotFoundException exception); @ExceptionHandler(NodeNotFoundException.class) ResponseEntity toResponse(NodeNotFoundException exception); @ExceptionHandler(NotAuthorizedException.class) ResponseEntity toResponse(NotAuthorizedException exception); @ExceptionHandler(value = {ProcessInstanceDuplicatedException.class}) ResponseEntity<Object> toResponse(ProcessInstanceDuplicatedException exception); @ExceptionHandler(ProcessInstanceExecutionException.class) ResponseEntity toResponse(ProcessInstanceExecutionException exception); @ExceptionHandler(ProcessInstanceNotFoundException.class) ResponseEntity toResponse(ProcessInstanceNotFoundException exception); @ExceptionHandler(VariableViolationException.class) ResponseEntity toResponse(VariableViolationException exception);  }
@Test void testInvalidLifeCyclePhaseException(@Mock InvalidLifeCyclePhaseException exception) { tested.toResponse(exception); verify(tested).mapException(exception); }
@Test void testInvalidTransitionException(@Mock InvalidTransitionException exception) { tested.toResponse(exception); verify(tested).mapException(exception); }
@Test void testNodeInstanceNotFoundException(@Mock NodeInstanceNotFoundException exception) { tested.toResponse(exception); verify(tested).mapException(exception); }
@Test void testNotAuthorizedException(@Mock NotAuthorizedException exception) { tested.toResponse(exception); verify(tested).mapException(exception); }
@Test void testProcessInstanceDuplicatedException(@Mock ProcessInstanceDuplicatedException exception) { tested.toResponse(exception); verify(tested).mapException(exception); }
@Test void testProcessInstanceExecutionException(@Mock ProcessInstanceExecutionException exception) { tested.toResponse(exception); verify(tested).mapException(exception); }
@Test void testProcessInstanceNotFoundException(@Mock ProcessInstanceNotFoundException exception) { tested.toResponse(exception); verify(tested).mapException(exception); }
@Test void testVariableViolationException(@Mock VariableViolationException exception) { tested.toResponse(exception); verify(tested).mapException(exception); }