Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
unknown authored and unknown committed Sep 11, 2017
1 parent 4bdee3b commit dcd9350
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
*/
package com.microsoft.azure.management;

import java.util.Collection;
import java.util.List;
import java.util.Set;

import org.junit.Assert;

Expand Down Expand Up @@ -58,7 +58,7 @@ public NetworkInterface createResource(NetworkInterfaces networkInterfaces) thro
Subnet subnet = network.subnets().get(ipConfig.subnetName());
Assert.assertNotNull(subnet);
Assert.assertEquals(1, subnet.networkInterfaceIPConfigurationCount());
Set<NicIPConfiguration> ipConfigs = subnet.listNetworkInterfaceIPConfigurations();
Collection<NicIPConfiguration> ipConfigs = subnet.listNetworkInterfaceIPConfigurations();
Assert.assertNotNull(ipConfigs);
Assert.assertEquals(1, ipConfigs.size());
NicIPConfiguration ipConfig2 = null;
Expand Down

0 comments on commit dcd9350

Please sign in to comment.