@@ -0,0 +1,1611 @@
+package org.jbake.app;%0A%0Aimport java.io.ByteArrayOutputStream;%0Aimport java.io.PrintStream;%0Aimport java.io.UnsupportedEncodingException;%0Aimport java.nio.charset.StandardCharsets;%0Aimport java.util.HashMap;%0Aimport org.junit.Assert;%0Aimport org.junit.Test;%0A%0Apublic class DebugUtilTest%0A%7B%0A%0A    @Test%0A    public void printMap() throws UnsupportedEncodingException%0A    %7B%0A        final ByteArrayOutputStream baos = new ByteArrayOutputStream();%0A        try (PrintStream ps = new PrintStream(baos, true, %22UTF-8%22)) %7B%0A            DebugUtil.printMap(new HashMap%3CString, Object%3E() %7B%7B%0A                                       put(%22stringKey%22, %22stringVal%22);%0A                                       put(%22forNullVal%22, null);%0A                                       put(null, %22forNullKey%22);%0A                                       put(%22forObject%22, new Object());%0A                                       put(%22forCharset%22, StandardCharsets.UTF_8);%0A                                       put(%22forNonSerializableVal%22, new Exception(%22nonSerializableVal%22));%0A                                   %7D%7D,%0A                    ps);%0A        %7D%0A        String printed = new String(baos.toByteArray(), StandardCharsets.UTF_8);%0A        System.out.println(printed);%0A%0A        Assert.assertTrue(printed.contains(%22stringKey :: stringVal%22));%0A        Assert.assertTrue(printed.contains(%22null :: forNullKey%22));%0A        Assert.assertTrue(printed.contains(%22forNullVal :: null%22));%0A        Assert.assertTrue(printed.contains(%22forCharset :: UTF-8%22));%0A        Assert.assertTrue(printed.contains(%22forNonSerializableVal :: java.lang.Exception: nonSerializableVal%22));%0A    %7D%0A%7D%0A

Add a test for DebugUtil