@Test
public void shouldPrependKey() {

  RedisKeyPrefixSerializer serializer = new RedisKeyPrefixSerializer("namespace:");
  String keyWithPrefix = new String(serializer.serialize(key));
  assertEquals(String.format("namespace:%s", new String(key.toByteArray())), keyWithPrefix);
}