@UnitTest public class LocalizedFeatureTest extends java.lang.Object
| Constructor and Description |
|---|
LocalizedFeatureTest() |
public void setUp()
public void shouldReturnEmptyListWhenThereIsEmptyListOfValuesForCurrentLocale()
LocalizedFeature.getValues().public void shouldReturnEmptyListWhenThereIsNullListOfValuesForCurrentLocale()
LocalizedFeature.getValues().public void shouldReturnUnmodifableListOfValuesWhenThereIsListOfValuesForCurrentLocale()
LocalizedFeature.getValues().public void shouldReturnNullValueWhenThereIsEmptyListOfValuesForCurrentLocale()
LocalizedFeature.getValue().public void shouldReturnNullValueWhenThereIsNullListOfValuesForCurrentLocale()
LocalizedFeature.getValue().public void shouldReturnFirstValueForCurrentLocale()
LocalizedFeature.getValue().public void shouldAddValueForCurrentLocaleWhenThereIsNoValueForCurrentLocale()
public void shouldAddValueForCurrentLocaleOnIndex0WhenThereIsNoValueForCurrentLocale()
public void shouldAddValueForCurrentLocaleOnIndex0WhenThereIsValueForCurrentLocale()
public void shouldThrowIllegalArgumentExceptionWhenSettingValueOnIndexGreaterThanValuesSize()
public void shouldThrowIllegalArgumentExceptionWhenSettingValueOnIndexLowerThanZero()
public void shouldRemoveLocalizedValueForCurrentLocale()
public void shouldRemoveAllValuesForCurrentLocale()
LocalizedFeature.removeAllValues().public void shouldSetListOfValuesForCurrentLocaleIfThereIsNoValuesForCurrentLocale()
LocalizedFeature.setValues(java.util.List).public void shouldClearAndSetListOfValuesForCurrentLocaleIfThereIsListOfValuesForCurrentLocale()
LocalizedFeature.setValues(java.util.List).public void shouldCreateLocalizeFeatureWithEmptyValuesMapWhenValuesIsNull()
public void shouldCreateLocalizeFeatureWithCopyOfValuesMapWhenValuesIsNotNull()
public void shouldReturnFullMapOfValuesForAllLocales()
LocalizedFeature.getValuesForAllLocales().Copyright © 2018 SAP SE. All Rights Reserved.