use of net.sf.sahi.playback.SahiScript in project sakuli by ConSol.
the class AopBaseTest method initMocks.
protected void initMocks() {
SakuliExceptionHandler sakuliExceptionHandler = BeanLoader.loadBean(SakuliExceptionHandler.class);
reset(sakuliExceptionHandler);
SahiScript sahiScriptMock = mock(SahiScript.class);
when(sahiScriptMock.jsString()).thenReturn("");
new RhinoScriptRunner(sahiScriptMock);
}
Aggregations