@Test
public void shouldLoadSubNetwork() throws OpenStackException, IOException {

    String region = "RegionOne";
    SubNetworkInstance subNet = new SubNetworkInstance("SUBNET", "vdc", "region", "CIDR");
    subNet.setIdSubNet("ID");
    // when
    when(openOperationUtil.executeNovaRequest(any(HttpUriRequest.class))).thenReturn("ok");
    String response = openStackUtil.getSubNetworkDetails(subNet.getIdSubNet(), region, "token", "vdc");
    // then
    assertNotNull(response);
    assertEquals("ok", response);
}