public void test() {
InputStream is = getClass().getResourceAsStream("/directionalrecords.xml");
FluentIterable<DirectionalPoolRecordDetail> expected = expected();
DirectionalPoolRecordDetailListHandler handler = injector.getInstance(DirectionalPoolRecordDetailListHandler.class);
FluentIterable<DirectionalPoolRecordDetail> result = factory.create(handler).parse(is);
assertEquals(result.toSet().toString(), expected.toSet().toString());
}