@Test public void noEventsAvailable() { EventOrganizer eventOrganizer = new EventOrganizer(); assertNotNull(eventOrganizer.findAvailableEvents()); assertTrue(eventOrganizer.findAvailableEvents().isEmpty()); }
@Test public void findGizmoEvent() { EventOrganizer eventOrganizer = new EventOrganizer(); Event gizmoEvent = Fixtures.createEvent("Gizmo"); assertTrue(eventOrganizer.findAvailableEvents().contains(gizmoEvent)); }