public void ShoppingCartContext_GetItemCollection_Success()
        {
            // Arrange
            SetupEnvironment();

            // Act
            var itemCollection = _context.GetCollection <Item>("Item");

            // Assert
            Assert.NotNull(itemCollection);
        }
 protected CrudRepository(IShoppingCartContext context)
 {
     _mongoContext = context;
     _dbCollection = _mongoContext.GetCollection <TEntity>(typeof(TEntity).Name);
 }