private Auditorium createAuditorium() {
    Properties props = new Properties();
    props.put("name", "Auditoria 1");
    props.put("numberOfSeats", "10");
    props.put("vip", "1,2,3");

    Set<DateTime> eventSchedule = new TreeSet<DateTime>();
    eventSchedule.add(TESTED_DATE);

    Auditorium auditorium = new Auditorium(props);
    auditorium.setEventSchedule(eventSchedule);

    return auditorium;
  }
  @Test
  public void testAssignAuditoriumToEvent() {

    Event testEvent = createEvent();
    Auditorium testAuditorium = createAuditorium();

    eventService.assignAuditoriumToEvent(testEvent, TESTED_DATE_2, testAuditorium);

    Assert.assertTrue(testAuditorium.getEventSchedule().contains(TESTED_DATE_2));
    Assert.assertEquals(testEvent.getAuditoriums().get(TESTED_DATE_2), testAuditorium);

    eventService.removeAuditoriumAssignment(testEvent, TESTED_DATE_2, testAuditorium);

    Assert.assertFalse(testAuditorium.getEventSchedule().contains(TESTED_DATE_2));
  }