@Test
public void testRemoveLastComma()
{

    assertEquals( null, TextUtils.removeLastComma( null ) );
    assertEquals( "", TextUtils.removeLastComma( "" ) );
    assertEquals( "tom,john", TextUtils.removeLastComma( "tom,john," ) );
    assertEquals( "tom, john", TextUtils.removeLastComma( "tom, john, " ) );
    assertEquals( "tom, john", TextUtils.removeLastComma( "tom, john,  " ) );
}