public void ShouldAddPath() { var track = new WebTrackingTag(); track.AddPath(Path); Assert.That(track.GetAllTags().Contains(Path), Is.True); }
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); }