public void test() {
InputStream is = getClass().getResourceAsStream("/attributes.xml");
Map<String, String> expected = expected();
AttributesHandler handler = injector.getInstance(AttributesHandler.class);
Map<String, String> result = factory.create(handler).parse(is);
assertEquals(result.toString(), expected.toString());
}