@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();
    }
}