コード例 #1
0
 @Test(expected = BadRequestException.class)
 public void inValidNetworkRequestReturnFalse() {
   underTest.validateNetworkForStack(
       TestUtil.network("10.0.0.1/32"),
       TestUtil.generateGcpInstanceGroupsByNodeCount(10000, 10000, 10000));
 }
コード例 #2
0
 @Test
 public void validNetworkRequestReturnTrue() {
   assertTrue(
       underTest.validateNetworkForStack(
           TestUtil.network(), TestUtil.generateGcpInstanceGroupsByNodeCount(1, 2, 3)));
 }