@UnitTest public class UnlocalizedFeatureTest extends java.lang.Object
| Constructor and Description |
|---|
UnlocalizedFeatureTest() |
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void shouldReturnClassificationAttributeNameAsNameOfTypedFeature()
public void shouldReturnComputedCodeFromAssignmentAsCodeOfTypedFeature()
public void shouldReturnFixedCodeOfUntypedFeature()
public void shouldThrowIllegalArgumentExceptionWhenInstantiatingTypedFeatureWithoutAssignment()
public void shouldThrowIllegalArgumentExceptionWhenInstantiatingUntypedFeatureWithoutCode()
public void shouldCreateFeatureWithEmptyListOfValuesWhenPassedListOfValuesIsNull()
UnlocalizedFeature.UnlocalizedFeature(java.lang.String, java.util.List)
.public void shouldCreateFeature()
UnlocalizedFeature.UnlocalizedFeature(java.lang.String, java.util.List)
.public void shouldReturnUnmodifableListOfValues()
UnlocalizedFeature.getValues().public void shouldReturnEmptyUnmodifableListOfValuesWhenThereIsNoValues()
UnlocalizedFeature.getValues().public void shouldReturnNullValueWhenThereIsEmptyListOfValues()
UnlocalizedFeature.getValue().public void shouldReturnFirstValueWhenThereIsListOfValues()
UnlocalizedFeature.getValue().public void shouldAddValueToListOfValues()
public void shouldThrowIllegalArgumentExceptionWhenValueIsNull()
public void shouldThrowIllegalArgumentExceptionWhenIndexIsGreaterThanCurrentValuesSize()
public void shouldThrowIllegalArgumentExceptionWhenIndexIsLowerThanZero()
public void shouldSetNewValueOnIndexOfTwo()
public void shouldSetNewValueOnIndexOfZero()
public void shouldRemoveValueFromListOfValues()
public void shouldThrowIllegalArgumentExceptionWhenValueToRemoveIsNull()
public void shouldRemoveAllValuesFromCurrentListOfValues()
UnlocalizedFeature.removeAllValues().public void shouldSetNewListOfValuesReplacingOldOneCompletely()
UnlocalizedFeature.setValues(java.util.List).public void shouldThrowIllegalArgumentExceptionWhenListOfValuesIsNull()
UnlocalizedFeature.setValues(java.util.List).Copyright © 2018 SAP SE. All Rights Reserved.