@Test
public void testLog_noLoggingWithAnonymusModeActionTypeTracking() {

    IUserActivityLogger userActivityLogger = createUserActivityLogger(userSessionMock, true); // isLogAnonymous = true
    ReturnValue<LoggingObject> returnValue = userActivityLogger.log(defaultLoggingActionMock, this.getClass(), null);
    verify(activityLoggingDaoMock, never()).saveLogObject(returnValue.getValue());
}