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