- when(webInterface.getCurrentSone(toadletContext)).thenReturn(currentSone);
- when(webInterface.getCurrentSone(eq(toadletContext), anyBoolean())).thenReturn(currentSone);
+ when(webInterface.getCurrentSoneCreatingSession(toadletContext)).thenReturn(currentSone);
+ when(webInterface.getCurrentSoneWithoutCreatingSession(toadletContext)).thenReturn(currentSone);