### Question:
AzureEnvironmentNetworkConverter extends EnvironmentBaseNetworkConverter { @Override public Network convertToNetwork(BaseNetwork baseNetwork) { AzureNetwork azureNetwork = (AzureNetwork) baseNetwork; Map<String, Object> param = new HashMap<>(); param.put(AzureUtils.RG_NAME, azureNetwork.getResourceGroupName()); param.put(AzureUtils.NETWORK_ID, azureNetwork.getNetworkId()); return new Network(null, param); } AzureEnvironmentNetworkConverter(EnvironmentViewConverter environmentViewConverter,
        AzureRegistrationTypeResolver azureRegistrationTypeResolver); @Override BaseNetwork setCreatedCloudNetwork(BaseNetwork baseNetwork, CreatedCloudNetwork createdCloudNetwork); @Override CloudPlatform getCloudPlatform(); @Override boolean isApplicableForDwx(CloudSubnet cloudSubnet); @Override boolean isApplicableForMlx(CloudSubnet cloudSubnet); @Override Network convertToNetwork(BaseNetwork baseNetwork);  }### Answer:
@Test void testConvertToNetwork() { AzureNetwork azureNetwork = new AzureNetwork(); azureNetwork.setNetworkId(NETWORK_ID); azureNetwork.setResourceGroupName(RESOURCE_GROUP_NAME); Network network = underTest.convertToNetwork(azureNetwork); assertEquals(RESOURCE_GROUP_NAME, network.getStringParameter(AzureUtils.RG_NAME)); assertEquals(NETWORK_ID, network.getStringParameter(AzureUtils.NETWORK_ID)); }