}
@Test
public void testGetNextPriceNoOffer() {
MaximizeUtilizationPricingModel pricingModel = new MaximizeUtilizationPricingModel();
//case 1
LinkedList<AsyncRequest> requests = new LinkedList<AsyncRequest>();
requests.add(new AsyncRequest("a", 2.0, getBindings(1)));
Double nextPrice = pricingModel.getNextPrice(0, requests, null);
assertEquals(new Double(2.0+0.1), nextPrice);
assertTrue(PricingModelTestUtils.checkPricingModelConstraints(pricingModel.getMinPrice(), nextPrice, 0, requests));
//case 2
requests = new LinkedList<AsyncRequest>();
requests.add(new AsyncRequest("a", 4.0, getBindings(1)));
requests.add(new AsyncRequest("b", 2.0, getBindings(4)));
requests.add(new AsyncRequest("c", 3.5, getBindings(4)));
nextPrice = pricingModel.getNextPrice(0, requests, null);
assertEquals(new Double(4.0+0.1), nextPrice);
assertTrue(PricingModelTestUtils.checkPricingModelConstraints(pricingModel.getMinPrice(), nextPrice, 0, requests));
}