@Test
public void testGetReservationsWithNoReservation() {

  Plan plan = new InMemoryPlan(queueMetrics, policy, agent, totalCapacity, 1L,
      resCalc, minAlloc, maxAlloc, planName, replanner, true, context);
  // Verify that get reservation returns no entries if no queries are made.
  ReservationInterval interval = new ReservationInterval(0, Long.MAX_VALUE);
  Set<ReservationAllocation> rAllocations =
      plan.getReservations(null, interval, "");
  Assert.assertTrue(rAllocations.size() == 0);
}