@Test public void createValid() { ValidationResult validationResult = ValidationResults.createValid(); assertThat(validationResult.isValid()).isTrue(); assertThat(validationResult.toString()).contains("Validation was successful"); }
public static ValidationResult createValid() { return VALID_RESULT; }
ValidationResults { public static ValidationResult createValid() { return VALID_RESULT; } }
ValidationResults { public static ValidationResult createValid() { return VALID_RESULT; } private  ValidationResults(); }
ValidationResults { public static ValidationResult createValid() { return VALID_RESULT; } private  ValidationResults(); static ValidationResult createInvalid(String errorDescription); static ValidationResult createInvalid(String errorDescriptionTemplate, Object... arguments); static ValidationResult createValid(); }
ValidationResults { public static ValidationResult createValid() { return VALID_RESULT; } private  ValidationResults(); static ValidationResult createInvalid(String errorDescription); static ValidationResult createInvalid(String errorDescriptionTemplate, Object... arguments); static ValidationResult createValid();  }