@Test
public void verifyNormalizeDefaultTypeForIntegerReturnsIntegerOrNull() {

    assertThat(
            ConfigUtil.getDefaultValueAsCorrectType(
                    ConfigDescriptionParameterBuilder.create("test", INTEGER).withDefault("1").build()),
            is(BigDecimal.ONE));
    assertThat(
            ConfigUtil.getDefaultValueAsCorrectType(
                    ConfigDescriptionParameterBuilder.create("test", INTEGER).withDefault("1.2").build()),
            is(BigDecimal.ONE));
    assertThat(
            ConfigUtil.getDefaultValueAsCorrectType(
                    ConfigDescriptionParameterBuilder.create("test", INTEGER).withDefault("foo").build()),
            is(nullValue()));
}