public void test() {
InputStream is = getClass().getResourceAsStream("/list_instance_profiles.xml");
IterableWithMarker<InstanceProfile> expected = expected();
ListInstanceProfilesResultHandler handler = injector.getInstance(ListInstanceProfilesResultHandler.class);
IterableWithMarker<InstanceProfile> result = factory.create(handler).parse(is);
assertEquals(result.toString(), expected.toString());
}