Ejemplo n.º 1
0
        public async Task DisposeAsync()
        {
            await VariantTest.DisposeAsync();

            await ProductTest.DisposeAsync();

            await FulfillmentServiceServTest.DisposeAsync();
        }
Ejemplo n.º 2
0
        /// <summary>
        /// Convenience function for running tests. Creates an object and automatically adds it to the queue for deleting after tests finish.
        /// </summary>
        public async Task <InventoryLevel> Create(bool skipAddToCreateList = false)
        {
            var locId = (await FulfillmentServiceServTest.Create(skipAddToCreateList)).LocationId.Value;

            return(await Service.ConnectAsync(InventoryItemId, locId, true));
        }