public class DataBeanMocker
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
DataBeanMocker.MockParentPageCallbackHandler |
Modifier and Type | Field and Description |
---|---|
static DataBeanMocker |
INSTANCE |
Constructor and Description |
---|
DataBeanMocker() |
Modifier and Type | Method and Description |
---|---|
<T extends DataBean> |
createDataBean(AppInstance appInstance,
java.lang.Class<T> type) |
<T extends DataBean> |
createDataBean(java.lang.Class<T> type) |
WebClientSession |
getClientSession(DataBean scenarioBean) |
void |
mockMboSet(DataBean bean,
MboSetRemote mboset)
Wires a MboSetRemote into a DataBean, so the getMboSet() or getMboSetRemote() return the given mboset
|
void |
mockParentPage(DataBean dataBean,
DataBeanMocker.MockParentPageCallbackHandler mockCallbackHandler) |
public static final DataBeanMocker INSTANCE
public <T extends DataBean> T createDataBean(AppInstance appInstance, java.lang.Class<T> type)
public <T extends DataBean> T createDataBean(java.lang.Class<T> type)
public void mockParentPage(DataBean dataBean, DataBeanMocker.MockParentPageCallbackHandler mockCallbackHandler)
public WebClientSession getClientSession(DataBean scenarioBean)
public void mockMboSet(DataBean bean, MboSetRemote mboset) throws java.rmi.RemoteException, MXException
bean
- mboset
- java.rmi.RemoteException
MXException