.withParam( "rand", RANDOM )
.withParam( "url", "actionUrl" )
.withParam( "token_auth", FAKE_TOKEN )
.withParam( "res", "1280x1024" ), giveEmptyResponse().withStatus( 200 ) );
Piwik piwik = new Piwik( driver.getBaseUrl(), new PiwikConfiguration( "apiVersion", 2 ) );
piwik.track( new Action( "actionUrl" ),
new VisitorInformation().setScreenResolution( "1280x1024" ),
new AdvancedConfiguration( FAKE_TOKEN ) );
}