public void EntertainApi_Customer_Constructor_InitializesCorrectly()
        {
            var item = new EntertainApiResponse();

            Assert.IsNotNull(item.customers);
            Assert.IsNotNull(item.reservations);
            Assert.IsNotNull(item.status);
        }
        public void EntertainApi_EntertainApiResponse_ErrorHasOccured_IsCorrect(string errorMessage, string errorSeverity, bool result)
        {
            var response = new EntertainApiResponse
            {
                errorMessage  = errorMessage,
                errorSeverity = errorSeverity
            };

            Assert.AreEqual(result, response.ErrorHasOccured());
        }
        public void EntertainApi_EntertainApiResponse_HasExpiredTickets_ReturnsCorrect(bool enta, string basketExpiry, bool result)
        {
            var response = new EntertainApiResponse
            {
                reservations = new List <Reservation>
                {
                    new Reservation
                    {
                        basketItemHistory = new BasketItemHistory
                        {
                            enta         = enta,
                            basketExpiry = TestHelper.ConvertTestArgumentToDateTime(basketExpiry)
                        }
                    }
                },
            };

            Assert.AreEqual(result, response.HasExpiredTickets());
        }