whenever(webInterface.getCurrentSoneCreatingSession(toadletContext)).thenReturn(currentSone)
whenever(webInterface.getCurrentSoneWithoutCreatingSession(toadletContext)).thenReturn(currentSone)
whenever(webInterface.core).thenReturn(core)
whenever(webInterface.getCurrentSoneCreatingSession(toadletContext)).thenReturn(currentSone)
whenever(webInterface.getCurrentSoneWithoutCreatingSession(toadletContext)).thenReturn(currentSone)
whenever(webInterface.core).thenReturn(core)
whenever(webInterface.getCurrentSoneWithoutCreatingSession(toadletContext)).thenReturn(null)
whenever(webInterface.getCurrentSoneCreatingSession(toadletContext)).thenReturn(null)
}
whenever(webInterface.getCurrentSoneWithoutCreatingSession(toadletContext)).thenReturn(null)
whenever(webInterface.getCurrentSoneCreatingSession(toadletContext)).thenReturn(null)
}