public void TestAsyncEmitterSetFunctions()
        {
            IEmitter e1 = new AsyncEmitter("acme.com");

            Assert.AreEqual("http://acme.com/com.snowplowanalytics.snowplow/tp2", e1.GetCollectorUri());
            e1.SetCollectorUri("acme.com.au");
            Assert.AreEqual("http://acme.com.au/com.snowplowanalytics.snowplow/tp2", e1.GetCollectorUri());
            e1.SetHttpProtocol(HttpProtocol.HTTPS);
            Assert.AreEqual("https://acme.com.au/com.snowplowanalytics.snowplow/tp2", e1.GetCollectorUri());
            e1.SetHttpMethod(HttpMethod.GET);
            Assert.AreEqual("https://acme.com.au/i", e1.GetCollectorUri());
            Assert.AreEqual(500, e1.GetSendLimit());
            e1.SetSendLimit(1000);
            Assert.AreEqual(1000, e1.GetSendLimit());
            Assert.AreEqual(52000, e1.GetByteLimitGet());
            e1.SetByteLimitGet(100000);
            Assert.AreEqual(100000, e1.GetByteLimitGet());
            Assert.AreEqual(52000, e1.GetByteLimitPost());
            e1.SetByteLimitPost(100000);
            Assert.AreEqual(100000, e1.GetByteLimitPost());
        }
        public void TestAsyncEmitterInit()
        {
            IEmitter e1 = new AsyncEmitter("acme.com");

            Assert.NotNull(e1);
            Assert.AreEqual("http://acme.com/com.snowplowanalytics.snowplow/tp2", e1.GetCollectorUri());
            Assert.AreEqual(HttpProtocol.HTTP, e1.GetHttpProtocol());
            Assert.AreEqual(HttpMethod.POST, e1.GetHttpMethod());
            Assert.AreEqual(500, e1.GetSendLimit());
            Assert.AreEqual(52000, e1.GetByteLimitGet());
            Assert.AreEqual(52000, e1.GetByteLimitPost());
            Assert.NotNull(e1.GetEventStore());
            Assert.False(e1.IsSending());
        }