}
@Test
public void testGetNextPriceCase6a() {
MaximizeUtilizationPricingModel pricingModel = new MaximizeUtilizationPricingModel(true);
LinkedList<AsyncRequest> requests = new LinkedList<AsyncRequest>();
requests.add(new AsyncRequest("a", 200.0, getBindings(1)));
requests.add(new AsyncRequest("b", 1.0, getBindings(25)));
requests.add(new AsyncRequest("c", 2.0, getBindings(25)));
requests.add(new AsyncRequest("d", 3.0, getBindings(25)));
requests.add(new AsyncRequest("e", 4.0, getBindings(25)));
Double nextPrice = pricingModel.getNextPrice(200, requests, null);
assertEquals(new Double(pricingModel.getMinPrice()), nextPrice);
assertTrue(PricingModelTestUtils.checkPricingModelConstraints(pricingModel.getMinPrice(), nextPrice, 200, requests));
}