Esempio n. 1
0
        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);
        }