Class CMSVersionToItemModelPopulatorTest


  • @UnitTest
    public class CMSVersionToItemModelPopulatorTest
    extends java.lang.Object
    • Constructor Detail

      • CMSVersionToItemModelPopulatorTest

        public CMSVersionToItemModelPopulatorTest()
    • Method Detail

      • setup

        public void setup()
      • payloadAttributes

        protected java.util.Map<java.lang.String,​TypedValue> payloadAttributes()
      • getLocPayloadAttributes

        protected java.util.Map<java.lang.String,​LocalizedTypedValue> getLocPayloadAttributes()
      • getLocAttributeTypedValue

        protected LocalizedTypedValue getLocAttributeTypedValue​(java.lang.String attrType,
                                                                java.lang.String collectionType,
                                                                java.util.Map<java.lang.String,​java.util.List<java.lang.String>> locValues)
      • getAttributeTypedValue

        protected TypedValue getAttributeTypedValue​(java.lang.String attrType,
                                                    java.lang.String collectionType,
                                                    java.util.List<java.lang.String> values)
      • shouldPopulateSimpleAttribute

        public void shouldPopulateSimpleAttribute()
      • shouldPopulateListAttribute

        public void shouldPopulateListAttribute()
      • shouldPopulateSetAttribute

        public void shouldPopulateSetAttribute()
      • shouldPopulateSortedSetAttribute

        public void shouldPopulateSortedSetAttribute()
      • shouldPopulateCustomSimpleAttribute

        public void shouldPopulateCustomSimpleAttribute()
      • shouldPopulateCustomCollectionAttribute

        public void shouldPopulateCustomCollectionAttribute()
      • shouldPopulateLocalizedSimpleAttribute

        public void shouldPopulateLocalizedSimpleAttribute()
      • shouldPopulateLocalizedCollectionAttribute

        public void shouldPopulateLocalizedCollectionAttribute()
      • shouldPopulateEmptyCollectionAttributeThatDoesNotExistsInAuditPayload

        public void shouldPopulateEmptyCollectionAttributeThatDoesNotExistsInAuditPayload()