public void Reservation_Test(RealTimeInventory inventory, int toReserve) { IInventoryServiceCompletedMessage response = null; using (var testHelper = CreateInventoryServiceServer(inventory)) response = testHelper.ReserveAsync(inventory, toReserve).WaitAndGetOperationResult(); InventoryServiceSpecificationHelper.AssertReservations(inventory, toReserve, response); }