/** * Unit tests for {@link VEvent#getOccurrence(Date)}. */ public void testGetOccurrence() throws IOException, ParseException, URISyntaxException { VEvent occurrence = event.getOccurrence(date); assertNotNull(occurrence); assertEquals(event.getUid(), occurrence.getUid()); }