src/test/java/com/ve/cxe/commons/StringUtilsTest.java
/**
     * Test of joinFill method, of class Strings.
     */
Test of joinFill method, of class Strings.
Test of joinFill method of class Strings .
@Test
    public void testJoinFill_Seperator() {
        System.out.println("JoinFill_Seperator");
        String startString = "Saramma-";
        String fillCharacter = "X";
        char seperator = ',';
        int count = 2;
        String endString = "";
        String expResult = "Saramma-X,X";
        String result = StringUtils.joinFill(startString, fillCharacter, seperator, count, endString);
        assertEquals(expResult, result);
    }
@ Test public void testJoinFill_Seperator ( ) { System . out . println ( "JoinFill_Seperator" ) ; String startString = "Saramma-" ; String fillCharacter = "X" ; char seperator = ',' ; int count = 2 ; String endString = "" ; String expResult = "Saramma-X,X" ; String result = StringUtils . joinFill ( startString , fillCharacter , seperator , count , endString ) ; assertEquals ( expResult , result ) ; }
Test of joinFill method, of class Strings.
Test of joinFill method of class Strings .