@Test
public void testValidateEmrClusterDefinitionConfigurationMasterSpotPriceSpecified()
{

    EmrClusterDefinition emrClusterDefinition = createValidEmrClusterDefinition();
    emrClusterDefinition.getInstanceDefinitions().getMasterInstances().setInstanceSpotPrice(BigDecimal.ONE);
    try
    {
        emrClusterDefinitionHelper.validateEmrClusterDefinitionConfiguration(emrClusterDefinition);
    }
    catch (Exception e)
    {
        fail("expected no exception, but " + e.getClass() + " was thrown. " + e);
    }
}