@Test
public void verifyNormalizeDefaultTypeForDecimalReturnsimalBigDecOrNull() {

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