Example #1
0
        public void Getters_CATContentLength()
        {
            var metadata = new TransactionMetadata();

            Assert.AreEqual(-1, metadata.GetCrossApplicationReferrerContentLength());

            metadata.SetCrossApplicationReferrerContentLength(44444);
            Assert.AreEqual(44444, metadata.GetCrossApplicationReferrerContentLength());

            metadata.SetCrossApplicationReferrerContentLength(5432);
            Assert.AreEqual(5432, metadata.GetCrossApplicationReferrerContentLength());
        }