Ejemplo n.º 1
0
        public void GetGuestTest()
        {
            var guest = _GuestController.GetGuest(Guid.Parse("E3AD5D92-B30D-4A61-AEA9-90C601D8C9E3")).Value;

            Assert.IsNotNull(guest, "The method returned null.");
            Assert.IsInstanceOfType(guest, typeof(Guest), "The object is not of the Guest type.");
            Assert.AreEqual(guest.Id, Guid.Parse("E3AD5D92-B30D-4A61-AEA9-90C601D8C9E3"), "Id's are not the same.");
        }