### Question:
BookingBucket implements Comparable { public Map<String, Double> getAllocatedAmounts() { return allocatedAmounts; } BookingBucket();  BookingBucket(String day, String bookingId, List<String> previousBookingOrder, int priority);  BookingBucket(String id, Map source); static BookingBucket clone(BookingBucket bb); String getId(); String getDay(); Integer getPriority(); Map<String, Double> getAllocatedAmounts(); @JsonIgnore double getSumOfAllocatedAmounts(); @Override int compareTo(Object o); Map<String, List<Double>> getAvgTbrMap(); void setAvgTbrMap(Map<String, List<Double>> avgTbrMap); List<String> getAndBookingsIds(); List<String> getMinusBookingsIds(); AvrTBRInsight getAvrTBRInsight(Set<String> validBookingIds);  }### Answer:
@Test public void getAllocatedAmounts() { String day = "20180105", bookingId = "test_bkid_1"; List<String> prvBkOrder = new ArrayList(); BookingBucket bb1 = new BookingBucket(day, bookingId, prvBkOrder, 1); Map exp = new HashMap(); assertTrue(bb1.getAllocatedAmounts().equals(exp)); }