public void test() {
InputStream is = getClass().getResourceAsStream("/get_instance.xml");
Instance expected = expected();
InstanceHandler handler = injector.getInstance(InstanceHandler.class);
Instance result = factory.create(handler).parse(is);
assertEquals(result.toString(), expected.toString());
}