public void BuildCurrentActionUrlReturnsUrlWithout(
            TfsBuilderActionTrackingAttribute sut,
            Mock<ActionExecutingContext> mockContext)
        {
            mockContext.CallBase = false;
            var request = mockContext.Object.RequestContext.HttpContext.Request;
            var uri = new Uri("http://abc.com/abc/def?a=1&b=2");
            Mock.Get(request).SetupGet(x => x.Url).Returns(uri);

            var actual = sut.BuildCurrentActionUrl(mockContext.Object);

            Assert.Equal("/abc/def", actual);
        }
 public void BuildCurrentActionUrlWithNullContextThrows(TfsBuilderActionTrackingAttribute sut)
 {
     Assert.Throws<ArgumentNullException>(() => sut.BuildCurrentActionUrl(null));
 }