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

    // Given
    OpenStackAccess openStackAccess = new OpenStackAccess();
    openStackAccess.setToken("1234567891234567989");
    openStackAccess.setTenantId("08bed031f6c54c9d9b35b42aa06b51c0");
    when(openStackRegion.getTokenAdmin()).thenReturn(openStackAccess);
    when(openOperationUtil.executeNovaRequest(any(HttpUriRequest.class))).thenReturn("ok");
    // when
    String response = openStackUtil.listNetworks(paasManagerUser, "region");
    // then
    assertNotNull(response);
}