Examples of IpPermission


Examples of org.jclouds.net.domain.IpPermission

              "Firewall " + getFwForTestSourceTagsExact() + " should match IpPermission " + perm + " but does not.");
   }

   @Test
   public void testEqualsIpPermissionFails() {
      IpPermission perm = IpPermission.builder().groupId("tag-1")
              .fromPort(1).toPort(10).ipProtocol(IpProtocol.TCP).build();

      assertFalse(equalsIpPermission(perm).apply(getFwForTestSourceTags()),
              "Firewall " + getFwForTestSourceTags() + " should not match IpPermission " + perm + " but does.");
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.