+ @Before
+ public void setupSone() {
+ when(currentSone.getOptions()).thenReturn(new DefaultSoneOptions());
+ }
+
+ protected void unsetCurrentSone() {
+ when(webInterface.getCurrentSone(toadletContext)).thenReturn(null);
+ when(webInterface.getCurrentSone(eq(toadletContext), anyBoolean())).thenReturn(null);
+ }
+