@@ -0,0 +1,728 @@
+package redis.clients.jedis.tests.utils;%0A%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0Aimport redis.clients.jedis.util.KeyMergeUtil;%0A%0Apublic class KeyMergeUtilTest %7B%0A%0A  @Test%0A  public void mergeByteArray() %7B%0A    byte%5B%5D%5B%5D bytes = KeyMergeUtil.merge(new byte%5B%5D %7B3, 2, 1%7D, new byte%5B%5D%5B%5D %7B%7B1, 2, 3%7D, %7B2, 4, 8%7D%7D);%0A%0A    Assert.assertArrayEquals(new byte%5B%5D %7B3, 2, 1%7D, ((bytes)%5B0%5D));%0A    Assert.assertArrayEquals(new byte%5B%5D %7B1, 2, 3%7D, ((bytes)%5B1%5D));%0A    Assert.assertArrayEquals(new byte%5B%5D %7B2, 4, 8%7D, ((bytes)%5B2%5D));%0A  %7D%0A%0A  @Test%0A  public void mergeString() %7B%0A    String%5B%5D strings = KeyMergeUtil.merge(%221234%22, new String%5B%5D %7B%22fooBar%22%7D);%0A%0A    Assert.assertEquals(%221234%22, strings%5B0%5D);%0A    Assert.assertEquals(%22fooBar%22, strings%5B1%5D);%0A  %7D%0A%7D%0A

Add unit tests for redis.clients.jedis.util.KeyMergeUtil (#2009)