assertThat(resource, is(notNullValue()));
assertThat(resource.getContents().size(), is(1));
ECollection eCollection = (ECollection) resource.getContents().get(0);
assertThat(eCollection.getValues().size(), is(3));
Library library1 = (Library) eCollection.getValues().get(0);
Library library2 = (Library) eCollection.getValues().get(1);
Library library3 = (Library) eCollection.getValues().get(2);
assertThat(library1.getLocation(), is(notNullValue()));
assertThat(library1.getLocation().getAddress(), is("Wastelands"));
assertThat(library2.getLocation(), is(notNullValue()));
assertThat(library2.getLocation().getAddress(), is("Badlands"));
assertThat(library3.getLocation(), is(notNullValue()));
assertThat(library3.getLocation().getAddress(), is("Wetlands"));
}