Package com.hybris.backoffice
Class BackofficeTestUtil
java.lang.Object
com.hybris.backoffice.BackofficeTestUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeDescriptorModelmockAttributeDescriptor(String typecode) static AttributeDescriptorModelmockCollectionTypeAttributeDescriptor(String typecode) static voidsetPk(AbstractItemModel itemModel, long pk) Only for unit tests! Sets the pk of an ItemModel.
-
Constructor Details
-
BackofficeTestUtil
public BackofficeTestUtil()
-
-
Method Details
-
setPk
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
-
mockCollectionTypeAttributeDescriptor
-