Class BackofficeTestUtil

java.lang.Object
com.hybris.backoffice.BackofficeTestUtil

public class BackofficeTestUtil extends Object
  • Constructor Details

    • BackofficeTestUtil

      public BackofficeTestUtil()
  • Method Details

    • 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(String typecode)
    • mockCollectionTypeAttributeDescriptor

      public static AttributeDescriptorModel mockCollectionTypeAttributeDescriptor(String typecode)