HeaderValueValidators { public static ValueValidator getIntValidator() { return IntValueValidator.getInstance(); } private  HeaderValueValidators(); static ValueValidator getNoOpValidator(); static ValueValidator getNonEmptyValidator(); static ValueValidator getIntValidator(); static ValueValidator getLongValidator(); static ValueValidator getBooleanValidator(); static ValueValidator getJsonArrayValidator(); static ValueValidator getJsonObjectValidator();  }
@Test public void getIntValueValidatorReturnsAppropriateValidator() { final ValueValidator validator = HeaderValueValidators.getIntValidator(); try (final AutoCloseableSoftAssertions softly = new AutoCloseableSoftAssertions()) { softly.assertThat(validator.canValidate(int.class)).as("int").isTrue(); softly.assertThat(validator.canValidate(Integer.class)).as("Integer").isTrue(); } }