public void TearDown() { if (email != null) { var emailObj = new ETEmail { AuthStub = client, CustomerKey = emailCustKey }; emailObj.Delete(); } }
public void EmailDelete() { var emailObj = new ETEmail { AuthStub = client, CustomerKey = emailCustKey }; var delresponse = emailObj.Delete(); Assert.AreEqual(delresponse.Code, 200); Assert.AreEqual(delresponse.Results[0].StatusMessage, "Email deleted"); email = null; }
public void TearDown() { var tsdObj = new ETTriggeredSendDefinition { AuthStub = client, CustomerKey = tsdName }; var response = tsdObj.Delete(); var email = new ETEmail { AuthStub = client, CustomerKey = this.email.CustomerKey }; var emailResponse = email.Delete(); }
public void TearDown() { var emailSendDef = new ETEmailSendDefinition { AuthStub = client, CustomerKey = this.emailSendDef.CustomerKey }; var response = emailSendDef.Delete(); var email = new ETEmail { AuthStub = client, CustomerKey = this.email.CustomerKey }; var emailResponse = email.Delete(); var de = new ETDataExtension { AuthStub = client, CustomerKey = this.dataExtension.CustomerKey }; var deResponse = de.Delete(); }