@Test
public void testGetCacheKey() {

    CloudStore cloudStore = new CloudStore();
    assertEquals(cloudStore.getCacheKey("account", "role", "user", null, null), "account:role:user::");
    assertEquals(cloudStore.getCacheKey("account", "role", "user", 100, null), "account:role:user:100:");
    assertEquals(cloudStore.getCacheKey("account", "role", "user", null, "ext"), "account:role:user::ext");
    assertEquals(cloudStore.getCacheKey("account", "role", "user", null, "100"), "account:role:user::100");
    assertEquals(cloudStore.getCacheKey("account", "role", "user", 100, "ext"), "account:role:user:100:ext");
    cloudStore.close();
}