public class PersistenceTestUtils extends Object
| Constructor and Description |
|---|
PersistenceTestUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends AbstractItemModel> |
saveAndVerifyThatPersistedThroughSld(ModelService modelService,
T item)
Saves and asserts that a given item is saved through SLD instead of Jalo.
|
static void |
verifyThatUnderlyingPersistenceObjectIsSld(ItemModel item)
Asserts if a given item is backed by persistence object of SLD type.
|
public static <T extends AbstractItemModel> void saveAndVerifyThatPersistedThroughSld(ModelService modelService, T item)
modelService - model service for item savingitem - item to savepublic static void verifyThatUnderlyingPersistenceObjectIsSld(ItemModel item)
item - item to verifyCopyright © 2017 SAP SE. All Rights Reserved.