public void set(UUID uuid, VersionedProfile versionedProfile) {
    redisSet(uuid, versionedProfile);
    profiles.set(uuid, versionedProfile);
  }
@Test
  public void testSet() {
    final UUID uuid = UUID.randomUUID();
    final byte[] name = TestRandomUtil.nextBytes(81);
    final VersionedProfile profile = new VersionedProfile("someversion", name, "someavatar", null, null,
        null, null, "somecommitment".getBytes());

    profilesManager.set(uuid, profile);

    verify(commands, times(1)).hset(eq("profiles::" + uuid), eq("someversion"), any());
    verifyNoMoreInteractions(commands);

    verify(profiles, times(1)).set(eq(uuid), eq(profile));
    verifyNoMoreInteractions(profiles);
  }