Skip to content

The Unified and Autonomous Development Platform

Change testXXX to shouldXXX

steve400ecf99c2ac
diff --git a/commons.util/src/test/java/com/pmease/commons/util/StringUtilsTest.java b/commons.util/src/test/java/com/pmease/commons/util/StringUtilsTest.java
index dce36a280e..44d0260f74 100644
--- a/commons.util/src/test/java/com/pmease/commons/util/StringUtilsTest.java
+++ b/commons.util/src/test/java/com/pmease/commons/util/StringUtilsTest.java
@@ -8,7 +8,7 @@ import org.junit.Test;
public class StringUtilsTest {
- @Test public void testCameCaseToLowerCaseWithUnderscore() {
+ @Test public void shouldConvertCameCaseToLowerCaseWithUnderscore() {
String input = null;
assertTrue(StringUtils.camelCaseToLowerCaseWithUnderscore(input) == null);
@@ -19,7 +19,7 @@ public class StringUtilsTest {
assertEquals(StringUtils.camelCaseToLowerCaseWithUnderscore(input), "ilove_you");
}
- @Test public void testCamelCaseToLowerCaseWithHyphen() {
+ @Test public void shouldConvertCamelCaseToLowerCaseWithHyphen() {
String input = null;
assertTrue(StringUtils.camelCaseToLowerCaseWithHyphen(input) == null);