@Test public void testVpcCidr() { when(network.getStringParameter(VPC_CIDR)).thenReturn("0.1.2.3/24"); assertEquals("0.1.2.3/24", underTest.getExistingVpcCidr()); }
public String getExistingVpcCidr() { return network.getStringParameter(VPC_CIDR); }
AwsNetworkView { public String getExistingVpcCidr() { return network.getStringParameter(VPC_CIDR); } }
AwsNetworkView { public String getExistingVpcCidr() { return network.getStringParameter(VPC_CIDR); } AwsNetworkView(Network network); }
AwsNetworkView { public String getExistingVpcCidr() { return network.getStringParameter(VPC_CIDR); } AwsNetworkView(Network network); boolean isExistingVPC(); boolean isExistingSubnet(); boolean isExistingIGW(); String getExistingSubnet(); boolean isSubnetList(); List<String> getSubnetList(); String getExistingIgw(); String getExistingVpc(); String getExistingVpcCidr(); List<String> getExistingVpcCidrs(); }
AwsNetworkView { public String getExistingVpcCidr() { return network.getStringParameter(VPC_CIDR); } AwsNetworkView(Network network); boolean isExistingVPC(); boolean isExistingSubnet(); boolean isExistingIGW(); String getExistingSubnet(); boolean isSubnetList(); List<String> getSubnetList(); String getExistingIgw(); String getExistingVpc(); String getExistingVpcCidr(); List<String> getExistingVpcCidrs(); static final String VPC_ID; static final String REGION; }