@Test
public void testIsHexEncoded() {

    assertTrue(Utils.isHexEncoded("AAA"));
    assertTrue(Utils.isHexEncoded("6c386a4b26f73c802f34673f7248bb118f97424a"));
    assertFalse(Utils.isHexEncoded(null));
    assertFalse(Utils.isHexEncoded("I am not hex"));
    assertTrue(Utils.isHexEncoded(""));
    assertTrue(Utils.isHexEncoded(
            "6c386a4b26f73c802f34673f7248bb118f97424a" +
                    "6c386a4b26f73c802f34673f7248bb118f97424a" +
                    "6c386a4b26f73c802f34673f7248bb118f97424a" +
                    "6c386a4b26f73c802f34673f7248bb118f97424a" +
                    "6c386a4b26f73c802f34673f7248bb118f97424a" +
                    "6c386a4b26f73c802f34673f7248bb118f97424a" +
                    "6c386a4b26f73c802f34673f7248bb118f97424a"));
}