assertThat(calendar.getProperty("PRODID").getValue(), is("nico2ical"));
assertThat(calendar.getProperty("VERSION").getValue(), is("2.0"));
assertThat(
calendar.getProperty("X-WR-CALNAME").getValue(),
is("ニコニコ生放送"));
ComponentList components = calendar.getComponents();
assertThat(components, is(notNullValue()));
assertThat(components.size(), is(8));
// DTSTARTが古い順にイベントが並んでいる。
int i = 7;
for (Object object : components) {
assertThat(object, is(notNullValue()));
assertThat(object, is(instanceOf(VEvent.class)));