public void DeleteRoom_Negative()
        {
            int RoomId           = 10;
            var MockRoomBusiness = new Mock <RoomManager>();
            var returnAckType    = new Acknowledgement <Room>
            {
                code    = 2,
                Set     = null,
                Message = "No Room found with given roomid to delete",
            };

            MockRoomBusiness.Setup(p => p.deleteRoomService(RoomId)).Throws <System.Exception>();
            RoomsController roomsController = new RoomsController(MockRoomBusiness.Object);

            //Act
            var actualReturnType = roomsController.DeletePropertListing(RoomId) as OkObjectResult;

            Assert.ReferenceEquals(returnAckType, actualReturnType.Value);
        }
        public void DeleteRoom_Positive()
        {
            int RoomId           = 10;
            var MockRoomBusiness = new Mock <RoomManager>();
            var returnAckType    = new Acknowledgement <Room>
            {
                code    = 1,
                Set     = null,
                Message = "Successfully deleted",
            };


            //Act
            MockRoomBusiness.Setup(p => p.deleteRoomService(RoomId)).Returns(returnAckType);
            RoomsController roomsController = new RoomsController(MockRoomBusiness.Object);

            var actualReturnType = roomsController.DeletePropertListing(RoomId) as OkObjectResult;

            Assert.ReferenceEquals(returnAckType, actualReturnType.Value);
        }