### Question:
AzureNetworkView { public String getSubnets() { return network.getStringParameter(SUBNETS); } AzureNetworkView(Network network); String getSubnets();  }### Answer:
@Test public void testSubnets() { when(network.getStringParameter(SUBNETS)).thenReturn("subnet-a,subnet-b"); assertThat(underTest.getSubnets()).isEqualTo("subnet-a,subnet-b"); }