/** * Test the attributes federated network and range from a created network when they are not * specified. * * @throws Exception */ @Test public void testToInstance() throws Exception { Network network = new Network(NETWORK_NAME, VDC, REGION); NetworkInstance netInst = network.toNetworkInstance(); assertEquals(netInst.getfederatedNetwork(), false); assertEquals(netInst.getFederatedRange(), "0"); }