renamed test class

This commit is contained in:
Marcos Lopez Gonzalez 2018-06-20 23:12:30 +02:00
parent 5de26d0df3
commit dfbd91a678
2 changed files with 2 additions and 2 deletions

View File

@ -54,7 +54,7 @@ public class TitleCaseConverter {
return text;
}
return UCharacter.toTitleCase(text, null);
return UCharacter.toTitleCase(text, BreakIterator.getTitleInstance());
}
public static String convertToTileCaseWordUtilsFull(String text) {

View File

@ -5,7 +5,7 @@ import org.junit.Test;
import static org.junit.Assert.*;
public class TitleCaseConverterTest {
public class TitleCaseConverterUnitTest {
private static final String TEXT = "tHis IS a tiTLe";
private static final String TEXT_EXPECTED = "This Is A Title";