assertEquals( "ip", configuration.getParameter().get( getRequestKey( RequestKeys.VISITOR_IP_OVERRIDE ) ) );
assertEquals( fakeTokenAuth, configuration.getParameter().get( getRequestKey( RequestKeys.TOKEN_AUTH ) ) );
}
private TrackingInfo createInfo() {
TrackingInfo info = new TrackingInfo();
info.setAppVersion( "appVersion" );
info.setAppId( "appId" );
info.setClientId( "clientId" );
info.setClientLocale( Locale.CANADA );
info.setDeviceModel( "model" );
info.setDeviceOsVersion( "osVersion" );
info.setDeviceVendor( "vendor" );
info.setTabrisVersion( "tabrisVersion" );
info.setScreenResolution( new Point( 100, 200 ) );
info.setSearchQuery( "query" );
info.setUserAgent( "userAgent" );
info.setClientIp( "ip" );
info.setPlatform( Platform.WEB );
return info;
}