public void Get_Rental_Assets_Of_DistributionCenter()
        {
            var inv    = GetInventories().AsQueryable();
            var center = GetDistributionCenters().FirstOrDefault(c => c.Id == 1);
            var asset  = 2;


            var mockDbSet = new Mock <DbSet <Inventory> >();

            mockDbSet.As <IQueryable <Inventory> >().Setup(p => p.Provider).Returns(inv.Provider);
            mockDbSet.As <IQueryable <Inventory> >().Setup(p => p.Expression).Returns(inv.Expression);
            mockDbSet.As <IQueryable <Inventory> >().Setup(p => p.ElementType).Returns(inv.ElementType);
            mockDbSet.As <IQueryable <Inventory> >().Setup(p => p.GetEnumerator()).Returns(inv.GetEnumerator);

            var mockContext = new Mock <RentalContext>();

            mockContext.Setup(r => r.Inventory).Returns(mockDbSet.Object);

            var service = new DistributionService(mockContext.Object);
            var assets  = service.GetAssets(center.Id, asset);

            assets.Should().HaveCount(1);
            assets.First().Price.Should().Be(600);
            assets.First().Stock.Should().Be(5);
        }