@Test(expected = DuplicateInstanceException.class)
	public void addDuplicateBookingTest() throws DuplicateInstanceException {

		Student s = null;
		Booking b = null;
		try {
			s = familyService.findStudent(3);
		} catch (InstanceNotFoundException e) {
			assertTrue("Student not found", false);
		}
		SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
		Calendar cb = Calendar.getInstance();
		try {
			cb.setTime(sdf.parse("27/10/2014"));
		} catch (ParseException e) {
			assertTrue("Bad format to calendar", false);
		}
		b = new Booking(cb, s, bookingService.getDiningHall().get(0));

		try {
			bookingService.create(b);
			bookingService.create(b);
		} catch (MaxCapacityException e1) {
			assertTrue("Full dining hall ", false);
		} catch (NotValidDateException e) {
			assertTrue("Invalid date", false);
		}
	}