Package org.jclouds.iam.xml

Examples of org.jclouds.iam.xml.PolicyHandler


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

      Policy expected = expected();

      PolicyHandler handler = injector.getInstance(PolicyHandler.class);
      Policy result = factory.create(handler).parse(is);

      assertEquals(result, expected);
      assertEquals(result.getOwner(), expected.getOwner());
      assertEquals(result.getName(), expected.getName());
View Full Code Here


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

      Policy expected = expected();

      PolicyHandler handler = injector.getInstance(PolicyHandler.class);
      Policy result = factory.create(handler).parse(is);

      assertEquals(result, expected);
      assertEquals(result.getOwner(), expected.getOwner());
      assertEquals(result.getName(), expected.getName());
View Full Code Here

TOP

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

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.