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

    NetworkInstance net = new NetworkInstance("NETWORK", "vdc", "region");
    net.setIdNetwork("ID");
    // when
    when(openOperationUtil.executeNovaRequest(any(HttpUriRequest.class))).thenReturn("ok");
    openStackUtil.deleteSubNetwork(net.getIdNetwork(), "region", "token", "vdc");
    verify(openOperationUtil).executeNovaRequest(any(HttpUriRequest.class));
}