public void DeleteSobaZaNepostojecuSobu()
        {
            var context = new TestHotelContext();

            context.Sobas = GetDemoSoba;

            var controller = new SobaController(context);

            IHttpActionResult actionResult = controller.DeleteSoba(99);

            Assert.IsInstanceOfType(actionResult, typeof(NotFoundResult));
            TestProfile.De();
        }
        public void DeleteSobaVracaSobu()
        {
            var context = new TestHotelContext();

            context.Sobas = GetDemoSoba;

            var controller = new SobaController(context);

            // Act
            IHttpActionResult actionResult = controller.DeleteSoba(3);
            var contentResult = actionResult as OkNegotiatedContentResult <SobaDto>;

            // Assert
            Assert.IsNotNull(contentResult);
            Assert.IsNotNull(contentResult.Content);
            Assert.AreEqual(3, contentResult.Content.ID);
            TestProfile.De();
        }