public void test() {
InputStream is = getClass().getResourceAsStream("/get_role_policy.xml");
Policy expected = expected();
PolicyHandler handler = injector.getInstance(PolicyHandler.class);
Policy result = factory.create(handler).parse(is);
assertEquals(result, expected);
assertEquals(result.getOwner(), expected.getOwner());
assertEquals(result.getName(), expected.getName());