### Question:
Strings { @Deprecated public static String joinAsLines( String... elements ) { StringBuilder result = new StringBuilder(); for ( String line : elements ) { result.append( line ).append( System.lineSeparator() ); } return result.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 testJoiningLines() { assertEquals( "a" + System.lineSeparator() + "b" + System.lineSeparator() + "c" + System.lineSeparator(), Strings.joinAsLines( "a", "b", "c" ) ); }