booking= new BookingFrontendDTO();
booking.setBeginDate(CalendarUtils.GetGregorianCalendar("21/07/2009"));
booking.setFinishDate(CalendarUtils.GetGregorianCalendar("22/07/2009"));
Typology t= new Typology();
t.setBeds(1);
t.setId(2);
t.setHotelId(1);
t.setName("myTypology");
Typology t1= new Typology();
t1.setBeds(1);
t1.setId(2);
t1.setHotelId(1);
t1.setName("myTypology1");
Price p= new Price();
p.setCalendarDate(CalendarUtils.GetGregorianCalendar(("21/07/2009")));
p.setId(1);
p.setTypology_id(1);
p.setPrice(new BigDecimal(100));
Price p1= new Price();
p1.setCalendarDate(CalendarUtils.GetGregorianCalendar(("22/07/2009")));
p1.setId(2);
p1.setTypology_id(1);
p1.setPrice(new BigDecimal(200));
Price p2= new Price();
p2.setCalendarDate(CalendarUtils.GetGregorianCalendar(("21/07/2009")));
p2.setId(3);
p2.setTypology_id(2);
p2.setPrice(new BigDecimal(300));
Price p3= new Price();
p3.setCalendarDate(CalendarUtils.GetGregorianCalendar(("22/07/2009")));
p3.setId(4);
p3.setTypology_id(2);
p3.setPrice(new BigDecimal(400));
Set<Price> pricelist= new HashSet<Price>();
pricelist.add(p1);
pricelist.add(p);
Set<Price> pricelist1= new HashSet<Price>();
pricelist1.add(p3);
pricelist1.add(p2);
t.setPriceList(pricelist);
t1.setPriceList(pricelist1);
Room room= new Room();
room.setFloor(1);
room.setHotelid(1);
room.setId(1);
room.setName("myRoom");
room.setNumber(1);
room.setTypology_id(t.getId());
room.setTypology(t);
Room room1= new Room();
room1.setFloor(1);
room1.setHotelid(1);
room1.setId(1);
room1.setName("myRoom");
room1.setNumber(1);
room1.setTypology_id(t1.getId());
room1.setTypology(t1);
List<Room> rooms= new ArrayList<Room>();
rooms.add(room);
List<Room> rooms1= new ArrayList<Room>();