public final void setupWebInterface() {
when(webInterface.getCurrentSone(toadletContext)).thenReturn(currentSone);
when(webInterface.getCurrentSone(eq(toadletContext), anyBoolean())).thenReturn(currentSone);
when(webInterface.getNotifications(currentSone)).thenReturn(new ArrayList<Notification>());
}
public final void setupWebInterface() {
when(webInterface.getCurrentSone(toadletContext)).thenReturn(currentSone);
when(webInterface.getCurrentSone(eq(toadletContext), anyBoolean())).thenReturn(currentSone);
when(webInterface.getNotifications(currentSone)).thenReturn(new ArrayList<Notification>());
}