model/src/test/java/eu/internetofus/common/model/ValidationErrorExceptionTest.java
/**
   * Check that create with a code and message.
   */
Check that create with a code and message.
Check that create with a code and message .
@Test
  public void shouldCreateWithCodeAndMessage() {
    final var error = new ValidationErrorException("code", "message");
    assertThat(error.getCode()).isEqualTo("code");
    assertThat(error.getMessage()).isEqualTo("message");
  }
@ Test public void shouldCreateWithCodeAndMessage ( ) { final var error = new ValidationErrorException ( "code" , "message" ) ; assertThat ( error . getCode ( ) ) . isEqualTo ( "code" ) ; assertThat ( error . getMessage ( ) ) . isEqualTo ( "message" ) ; }
Check that create with a code and message.
Check that create with a code and message .