public void GetTest() { UrlController ctrl = CreateController(new[] { new Url { Id = Guid.Empty } }); var result = ctrl.Get(Guid.Empty); var url = GetUrlFromActionResult(result); Assert.AreEqual(url.Id, Guid.Empty); }
public void GetTest() { UrlController ctrl = CreateController(new[] { new Url { Id = Guid.Empty } }); var result = ctrl.Get(Guid.Empty); var url = GetUrlFromActionResult(result); Assert.AreEqual(url.Id, Guid.Empty); }