@UnitTest public class CMSVersionToItemModelPopulatorTest extends java.lang.Object
| Constructor and Description |
|---|
CMSVersionToItemModelPopulatorTest() |
| Modifier and Type | Method and Description |
|---|---|
protected TypedValue |
getAttributeTypedValue(java.lang.String attrType,
java.lang.String collectionType,
java.util.List<java.lang.String> values) |
protected LocalizedTypedValue |
getLocAttributeTypedValue(java.lang.String attrType,
java.lang.String collectionType,
java.util.Map<java.lang.String,java.util.List<java.lang.String>> locValues) |
protected java.util.Map<java.lang.String,LocalizedTypedValue> |
getLocPayloadAttributes() |
protected java.util.Map<java.lang.String,TypedValue> |
payloadAttributes() |
void |
setup() |
void |
shouldPopulateCustomCollectionAttribute() |
void |
shouldPopulateCustomSimpleAttribute() |
void |
shouldPopulateListAttribute() |
void |
shouldPopulateLocalizedCollectionAttribute() |
void |
shouldPopulateLocalizedSimpleAttribute() |
void |
shouldPopulateSetAttribute() |
void |
shouldPopulateSimpleAttribute() |
void |
shouldPopulateSortedSetAttribute() |
public void setup()
protected java.util.Map<java.lang.String,TypedValue> payloadAttributes()
protected java.util.Map<java.lang.String,LocalizedTypedValue> getLocPayloadAttributes()
protected LocalizedTypedValue getLocAttributeTypedValue(java.lang.String attrType, java.lang.String collectionType, java.util.Map<java.lang.String,java.util.List<java.lang.String>> locValues)
protected TypedValue getAttributeTypedValue(java.lang.String attrType, java.lang.String collectionType, java.util.List<java.lang.String> values)
public void shouldPopulateSimpleAttribute()
public void shouldPopulateListAttribute()
public void shouldPopulateSetAttribute()
public void shouldPopulateSortedSetAttribute()
public void shouldPopulateCustomSimpleAttribute()
public void shouldPopulateCustomCollectionAttribute()
public void shouldPopulateLocalizedSimpleAttribute()
public void shouldPopulateLocalizedCollectionAttribute()
Copyright © 2018 SAP SE. All Rights Reserved.