Package org.jclouds.iam.xml

Examples of org.jclouds.iam.xml.ListPoliciesResultHandler


   public void test() {
      InputStream is = getClass().getResourceAsStream("/list_role_policies.xml");

      IterableWithMarker<String> expected = expected();

      ListPoliciesResultHandler handler = injector.getInstance(ListPoliciesResultHandler.class);
      IterableWithMarker<String> result = factory.create(handler).parse(is);

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here


   public void test() {
      InputStream is = getClass().getResourceAsStream("/list_role_policies.xml");

      IterableWithMarker<String> expected = expected();

      ListPoliciesResultHandler handler = injector.getInstance(ListPoliciesResultHandler.class);
      IterableWithMarker<String> result = factory.create(handler).parse(is);

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here

TOP

Related Classes of org.jclouds.iam.xml.ListPoliciesResultHandler

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.