public void TearDown() { this.sessionConfig = null; this.interactionUrlBuilder = null; this.eventUrlBuilder = null; }
public ISitecoreUTSession BuildSession() { var config = new UTSessionConfig(this.instanceUrl); var session = new UTSession(config, this.defaultInteractionValue, this.deviceIdentifierValue, this.uTTokenValue); return(session); }
public void TestSessionConfig() { var sessionSettings = new UTSessionConfig("localhost"); Assert.IsNotNull(sessionSettings); Assert.AreEqual("localhost", sessionSettings.InstanceUrl); }
public void Setup() { this.sessionConfig = new UTSessionConfig(TestEndpointsConfig.InstanceUrl); this.interactionUrlBuilder = new TrackInteractionUrlBuilder <ITrackInteractionRequest>(UTGrammar.UTV1Grammar()); this.eventUrlBuilder = new TrackEventUrlBuilder <ITrackEventRequest>(UTGrammar.UTV1Grammar()); }