public void TestGetBookingStageByBookingNull()
        {
            BookingStage bookingStage1 = new BookingStage()
            {
                Id            = 1,
                Description   = "The booking was added correctly, awaiting payment",
                Administrator = new Administrator()
                {
                    Email = "*****@*****.**"
                },
                AdministratorId    = 0,
                AsociatedBooking   = null,
                AsociatedBookingId = 1,
                EntryDate          = DateTime.Now,
                Status             = new Status(),
            };
            BookingStage bookingStage3 = new BookingStage()
            {
                Id            = 3,
                Description   = "Theaiting payment",
                Administrator = new Administrator()
                {
                    Email = "*****@*****.**"
                },
                AdministratorId    = 0,
                AsociatedBooking   = null,
                AsociatedBookingId = 1,
                EntryDate          = DateTime.Now,
                Status             = new Status(),
            };
            List <BookingStage> bookingStages = new List <BookingStage>()
            {
                bookingStage1,
                bookingStage3,
                new BookingStage()
                {
                    Id            = 2,
                    Description   = "The booking was rejected due to payment issues, please contact your bank",
                    Administrator = new Administrator()
                    {
                        Email = "*****@*****.**"
                    },
                    AdministratorId    = 0,
                    AsociatedBooking   = null,
                    AsociatedBookingId = 2,
                    EntryDate          = DateTime.Now,
                    Status             = new Status(),
                },
            };
            List <BookingStage> listToReturn = new List <BookingStage>
            {
                bookingStage1,
                bookingStage3
            };

            bookingStages.ForEach(r => _context.Add(r));
            _context.SaveChanges();
            var repository = new BookingStageRepository(_context);

            var result = repository.GetByBooking(3);

            Assert.IsTrue(result.Count() == 0);
        }