@Test
public void testGetNonNegativeBigDecimalRequiredPropertyValueBlankStringValue()
{

    ConfigurationValue configurationValue = ConfigurationValue.EMR_CLUSTER_LOWEST_CORE_INSTANCE_PRICE_PERCENTAGE;
    MockEnvironment environment = new MockEnvironment();
    environment.setProperty(configurationValue.getKey(), " ");
    try
    {
        configurationHelper.getNonNegativeBigDecimalRequiredProperty(configurationValue, environment);
        fail("Should throw an IllegalStatueException when property value is not BigDecimal.");
    }
    catch (IllegalStateException e)
    {
        assertEquals(String.format("Configuration \"%s\" must have a value.", configurationValue.getKey()), e.getMessage());
    }
}