public void AddBookingAndCommitNullTest()
        {
            var testDbFactory = new TestDbFactory();
            var repository    = new BookingRepository(testDbFactory);

            repository.AddBookingAndCommit(null);
        }
        public void AddBookingAndCommitTest()
        {
            var testDbFactory = new TestDbFactory();
            var repository    = new BookingRepository(testDbFactory);

            repository.AddBookingAndCommit(new Booking {
                Id = 54321, Payment = 4321, Pnr = "WEQWSDD"
            });
            testDbFactory.MockSetBooking.Verify(m => m.Add(It.IsAny <Booking>()), Times.Once);
        }