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


            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 assetPrice = service.GetAssetPrice(center.Id, asset);

            assetPrice.Should <double>().Be(200.0);
        }