@Test
public void testGetEmrClusterPricesWithinLowestCoreInstancePriceEmptyCoreInstanceMultiplePricings() throws Exception
{

    List<EmrClusterPriceDto> pricingList =
        Arrays.asList(createSimpleEmrClusterPrice(AVAILABILITY_ZONE_1, BigDecimal.ONE), createSimpleEmrClusterPrice(AVAILABILITY_ZONE_4, null));
    List<EmrClusterPriceDto> lowestCoreInstancePriceClusters =
        emrPricingHelper.getEmrClusterPricesWithinLowestCoreInstancePriceThreshold(pricingList, TEN_PERCENT);
    assertEquals(1, lowestCoreInstancePriceClusters.size());
    for (EmrClusterPriceDto emrClusterPriceDto : lowestCoreInstancePriceClusters)
    {
        assertTrue(Arrays.asList(AVAILABILITY_ZONE_4).contains(emrClusterPriceDto.getAvailabilityZone()));
    }
}