src/test/java/com/ve/cxe/commons/ByteUtilsTest.java
/**
     * Test of toSlug method, of class Strings.
     */
Test of toSlug method, of class Strings.
Test of toSlug method of class Strings .
@Test
    public void testbytesToHexAndReverse() {
        System.out.println("bytesToHex");
        byte[] input = "test123".getBytes();
        String inputHex = ByteUtils.bytesToHex(input);
        byte[] inputBytes = ByteUtils.hexToBytes(inputHex);
        assertTrue(ByteUtils.fullByteCompare(input,inputBytes));
    }
@ Test public void testbytesToHexAndReverse ( ) { System . out . println ( "bytesToHex" ) ; byte [ ] input = "test123" . getBytes ( ) ; String inputHex = ByteUtils . bytesToHex ( input ) ; byte [ ] inputBytes = ByteUtils . hexToBytes ( inputHex ) ; assertTrue ( ByteUtils . fullByteCompare ( input , inputBytes ) ) ; }
Test of toSlug method, of class Strings.
Test of toSlug method of class Strings .