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