### Question:
Strings { @Deprecated public static String escape( String arg ) { StringBuilder builder = new StringBuilder( arg.length() ); try { escape( builder, arg ); } catch ( IOException e ) { throw new AssertionError( "IOException from using StringBuilder", e ); } return builder.toString(); } private  Strings(); @Deprecated static String prettyPrint( Object o ); @Deprecated static String escape( String arg ); @Deprecated static String joinAsLines( String... elements ); @Deprecated static void escape( Appendable output, String arg ); @Deprecated
    static final String TAB; }### Answer:
@Test void testEscape() { assertEquals( "abc", Strings.escape( "abc" ) ); assertEquals( "Abc", Strings.escape( "Abc" ) ); assertEquals( "a\\\"bc", Strings.escape( "a\"bc" ) ); assertEquals( "a\\\'bc", Strings.escape( "a\'bc" ) ); assertEquals( "a\\\\bc", Strings.escape( "a\\bc" ) ); assertEquals( "a\\nbc", Strings.escape( "a\nbc" ) ); assertEquals( "a\\tbc", Strings.escape( "a\tbc" ) ); assertEquals( "a\\rbc", Strings.escape( "a\rbc" ) ); assertEquals( "a\\bbc", Strings.escape( "a\bbc" ) ); assertEquals( "a\\fbc", Strings.escape( "a\fbc" ) ); }