src/test/java/com/ve/cxe/commons/StringUtilsTest.java
/**
     * Test of concealEmail method, of class Strings.
     */
Test of concealEmail method, of class Strings.
Test of concealEmail method of class Strings .
@Test
    public void testConcealCharacters_Tail() {
        System.out.println("#### ConcealCharacters_Tail");
        String email = "U0001055UN6TYI";
        String expResult = "U0001055xxxxxx";
        String result = StringUtils.concealCharacters(email, 6, true, null);
        System.out.println(result);
        assertEquals(expResult, result);
    }
@ Test public void testConcealCharacters_Tail ( ) { System . out . println ( "#### ConcealCharacters_Tail" ) ; String email = "U0001055UN6TYI" ; String expResult = "U0001055xxxxxx" ; String result = StringUtils . concealCharacters ( email , 6 , true , null ) ; System . out . println ( result ) ; assertEquals ( expResult , result ) ; }
Test of concealEmail method, of class Strings.
Test of concealEmail method of class Strings .