@Test
public void testShouldGetEndPointsForNovaAndARegionNameUsingCache() throws OpenStackException {

    // given
    OpenStackRegionImpl openStackRegion = new OpenStackRegionImpl();
    String regionName = "RegionOne";
    RegionCache regionCache = new RegionCache();
    regionCache.putUrl("RegionOne", "compute", "http://130.206.80.58:8774/v3/12321312312312321");
    // when
    String resultURL = openStackRegion.getNovaEndPoint(regionName);
    // then
    assertNotNull(resultURL);
    assertEquals("http://130.206.80.58:8774/v3/", resultURL);
}