Class BackofficeTestUtil


  • public class BackofficeTestUtil
    extends java.lang.Object
    • Constructor Detail

      • BackofficeTestUtil

        public BackofficeTestUtil()
    • Method Detail

      • setPk

        public static void setPk​(AbstractItemModel itemModel,
                                 long pk)
        Only for unit tests! Sets the pk of an ItemModel. It relies on internal platform implementation and should not be used outside unit tests.
      • mockAttributeDescriptor

        public static AttributeDescriptorModel mockAttributeDescriptor​(java.lang.String typecode)
      • mockCollectionTypeAttributeDescriptor

        public static AttributeDescriptorModel mockCollectionTypeAttributeDescriptor​(java.lang.String typecode)