Exemplo n.º 1
0
        public void ShouldAddPathWithGenericMethod()
        {
            var tracking = new WebTrackingTag();

            tracking.Add(x => x.Path, Path)
            .Add(x => x.Module, Facebook);

            Assert.That(tracking.GetAllTags().Contains(Path), Is.True);
            Assert.That(tracking.GetAllTags().Contains(Facebook), Is.True);
        }
Exemplo n.º 2
0
        public void ShouldAddPath()
        {
            var track = new WebTrackingTag();

            track.AddPath(Path);

            Assert.That(track.GetAllTags().Contains(Path), Is.True);
        }