public void test() {
InputStream is = getClass().getResourceAsStream("/locations.xml");
Set<Location> expected = expected();
ListLocationsHandler handler = injector.getInstance(ListLocationsHandler.class);
Set<Location> result = factory.create(handler).parse(is);
assertEquals(result.toString(), expected.toString());
}