public void test() {
InputStream is = getClass().getResourceAsStream("/describe_subnets.xml");
FluentIterable<Subnet> expected = expected();
DescribeSubnetsResponseHandler handler = injector.getInstance(DescribeSubnetsResponseHandler.class);
FluentIterable<Subnet> result = factory.create(handler).parse(is);
assertEquals(result.toString(), expected.toString());
}