@Test
public void escapeJava() {

    assertNull(StringHelper.escapeJava(null));
    assertEscapeJava("", "");
    assertEscapeJava("test", "test");
    assertEscapeJava("\\t", "\t");
    assertEscapeJava("\\\\", "\\");
    assertEscapeJava("'", "'");
    assertEscapeJava("\\\"", "\"");
    assertEscapeJava("/", "/");
    assertEscapeJava("\\\\\\b\\r", "\\\b\r");
    assertEscapeJava("\\u4711", "\u4711");
    assertEscapeJava("\\u0815", "\u0815");
    assertEscapeJava("\\u0080", "\u0080");
    assertEscapeJava("\u007f", "\u007f");
    assertEscapeJava(" ", "\u0020");
    assertEscapeJava("\\u0000", "\u0000");
    assertEscapeJava("\\u001F", "\u001f");
}