@Test(groups = "unit")
public class OrgListHandlerTest {
public void testSavvis() {
InputStream is = getClass().getResourceAsStream("/orglist.xml");
Injector injector = Guice.createInjector(new SaxParserModule());
Factory factory = injector.getInstance(ParseSax.Factory.class);
Set<Resource> result = factory.create(injector.getInstance(OrgListHandler.class)).parse(is);
assertEquals(result, ImmutableSet.of(new ResourceImpl("100000.0", "SAVVISStation Integration Testing",
"application/vnd.vmware.vcloud.org+xml", URI
.create("https://api.sandbox.savvis.net/rest/api/v0.8/org/100000.0"))));