public void CallOrderProcessor_InitliazeBookReturn_ValidBookMAster() { // Assert.Pass(); Product prod = new Product(); prod.ProductType = ProductPaymentType.Book; prod.ProductName = "BookItem"; //PhyscialProduct physcialProductExpected = new PhyscialProduct(); PhyscialMaster physcialMaster = _orderProcessorTests.InitializePhyscial(prod); Assert.IsNotNull(physcialMaster); }
public void CallOrderProcessor_DoActions_PhyicalReturns_ValidObject() { Product prod = new Product(); prod.ProductType = ProductPaymentType.Physical; prod.ProductName = "PhysicalItem"; //PhyscialProduct physcialProductExpected = new PhyscialProduct(); PhyscialMaster physcialMaster = _orderProcessorTests.InitializePhyscial(prod); bool doActionsResult = _orderProcessorTests.DoActionsPhyscial(prod, physcialMaster); Assert.IsNotNull(physcialMaster); Assert.IsTrue(doActionsResult); }