src/test/java/com/ve/cxe/commons/StringUtilsTest.java
/**
     * Test of implode method, of class Strings.
     */
Test of implode method, of class Strings.
Test of implode method of class Strings .
@Test
    public void testImplode() {
        System.out.println("#### implode");
        String separator = ".";
        String[] array = {"A", "B", "C", "D"};
        String expResult = "A.B.C.D";
        String result = StringUtils.implode(separator, array);
        assertEquals(expResult, result);
        System.out.println(result);
    }
@ Test public void testImplode ( ) { System . out . println ( "#### implode" ) ; String separator = "." ; String [ ] array = { "A" , "B" , "C" , "D" } ; String expResult = "A.B.C.D" ; String result = StringUtils . implode ( separator , array ) ; assertEquals ( expResult , result ) ; System . out . println ( result ) ; }
Test of implode method, of class Strings.
Test of implode method of class Strings .