Class DefaultStringDecapitalizerTest
- java.lang.Object
-
- de.hybris.platform.cmsfacades.common.service.impl.DefaultStringDecapitalizerTest
-
@UnitTest public class DefaultStringDecapitalizerTest extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DefaultStringDecapitalizerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtestAllCapital()voidtestCamelCase()voidtestDecapitalizeClassShouldReturnCorrectOptionalString()voidtestDecapitalizeNullClassShouldReturnOptionalEmpty()voidtestEmpty()voidtestNoCapital()voidtestStartWithDigit()voidtestStartWithLowercase()voidtestStartWithManyCapitalsAndDigit()voidtestStartWithSingleCapital()voidtestStartWithSingleCapitalAndDigit()voidtestStartWithTwoCapital()voidtestStartWithTwoCapitalAndCamelCase()
-
-
-
Method Detail
-
testDecapitalizeNullClassShouldReturnOptionalEmpty
public void testDecapitalizeNullClassShouldReturnOptionalEmpty()
-
testDecapitalizeClassShouldReturnCorrectOptionalString
public void testDecapitalizeClassShouldReturnCorrectOptionalString()
-
testEmpty
public void testEmpty()
-
testNoCapital
public void testNoCapital()
-
testStartWithLowercase
public void testStartWithLowercase()
-
testStartWithSingleCapital
public void testStartWithSingleCapital()
-
testStartWithTwoCapital
public void testStartWithTwoCapital()
-
testAllCapital
public void testAllCapital()
-
testCamelCase
public void testCamelCase()
-
testStartWithTwoCapitalAndCamelCase
public void testStartWithTwoCapitalAndCamelCase()
-
testStartWithSingleCapitalAndDigit
public void testStartWithSingleCapitalAndDigit()
-
testStartWithManyCapitalsAndDigit
public void testStartWithManyCapitalsAndDigit()
-
testStartWithDigit
public void testStartWithDigit()
-
-