- whenever(webInterface.templateContextFactory).thenReturn(TemplateContextFactory())
- whenever(webInterface.getCurrentSone(ArgumentMatchers.eq(toadletContext), ArgumentMatchers.anyBoolean())).thenReturn(currentSone)
- whenever(webInterface.getCurrentSoneCreatingSession(toadletContext)).thenReturn(currentSone)
- whenever(webInterface.getCurrentSoneWithoutCreatingSession(toadletContext)).thenReturn(currentSone)