public void test() {
InputStream is = getClass().getResourceAsStream("/get_role.xml");
Role expected = expected();
RoleHandler handler = injector.getInstance(RoleHandler.class);
Role result = factory.create(handler).parse(is);
assertEquals(result, expected);
assertEquals(result.getPath(), expected.getPath());
assertEquals(result.getName(), expected.getName());