public class IntegrationObjectItemsContext extends BaseContext
IntegrationObjectItems
existing in the system. It's meant to be used in integration tests to set up or verify test conditions.
This context should be used when the test doesn't care about associating the IntegrationObjectItems to
a specific IntegrationObject. This class will generate a random IntegrationObject and associates the
IntegrationObjectItems to it.| Modifier and Type | Method and Description |
|---|---|
void |
after() |
void |
before() |
static IntegrationObjectItemsContext |
create() |
IntegrationObjectModel |
getIntegrationObject()
Get the
IntegrationObjectModel associated to the given IntegrationObjectItemModels |
IntegrationObjectItemModel[] |
givenExist(IntegrationObjectItemBuilder... specs)
Associates the integration object item specifications to an internally generated
IntegrationObjectModel,
and persists them in the context storage. |
void |
givenExist(IntegrationObjectItemModel... models)
Associates the integration object items to an internally generated
IntegrationObjectModel,
and persists them in the context storage. |
findAll, flexibleSearch, getService, modelService, removeAllpublic static IntegrationObjectItemsContext create()
public void before()
before in class BaseContextpublic void after()
public IntegrationObjectItemModel[] givenExist(IntegrationObjectItemBuilder... specs)
IntegrationObjectModel,
and persists them in the context storage. Use getIntegrationObject() to get the associated IntegrationObjectModel.specs - specifications of the IntegrationObjectItemModel to create in the persistent storage.public void givenExist(IntegrationObjectItemModel... models)
IntegrationObjectModel,
and persists them in the context storage. Use getIntegrationObject() to get the associated IntegrationObjectModel.models - models of the IntegrationObjectItemModel to create in the persistent storage.public IntegrationObjectModel getIntegrationObject()
IntegrationObjectModel associated to the given IntegrationObjectItemModelsCopyright © 2018 SAP SE. All Rights Reserved.