public void AddFixedPriceItem() { if (TestData.NewFixedPriceItem != null) { string outMsg; ItemHelper.EndItem(this.apiContext, TestData.NewFixedPriceItem, out outMsg); TestData.NewFixedPriceItem = null; } ItemType item = ItemHelper.BuildItem(); item.ListingType = ListingTypeCodeType.FixedPriceItem; // Execute the API. FeeTypeCollection fees; // VerifyAddItem VerifyAddFixedPriceItemCall vi = new VerifyAddFixedPriceItemCall(this.apiContext); fees = vi.VerifyAddFixedPriceItem(item); Assert.IsNotNull(fees); // AddItem AddFixedPriceItemCall ai = new AddFixedPriceItemCall(this.apiContext); fees = ai.AddFixedPriceItem(item); Assert.IsNotNull(fees); // Save the result. TestData.NewFixedPriceItem = item; }