public void TestFirstSession()
{
LogConfig.SetupLogging(logDelegate: msg => System.Diagnostics.Debug.WriteLine(msg),
logLevel: null);
// create the config to start the session
AdjustConfig config = new AdjustConfig("123456789012", AdjustConfig.EnvironmentSandbox);
// start activity handler with config
ActivityHandler activityHandler = GetActivityHandler(config);
DeviceUtil.Sleep(3000);
// test init values
InitTests(AdjustConfig.EnvironmentSandbox, "Info", false);
// test first session start
CheckFirstSession();
// checking the default values of the first session package
// should only have one package
Assert.AreEqual(1, MockPackageHandler.PackageQueue.Count);
ActivityPackage activityPackage = MockPackageHandler.PackageQueue[0];
// create activity package test
TestActivityPackage testActivityPackage = new TestActivityPackage(activityPackage);
// set first session
testActivityPackage.TestSessionPackage(1);
}