public void EmailSendDefinitionDelete() { var emailSendDef = new ETEmailSendDefinition { AuthStub = client, CustomerKey = this.emailSendDef.CustomerKey }; var response = emailSendDef.Delete(); Assert.AreEqual(response.Code, 200); Assert.AreEqual(response.Status, true); Assert.AreEqual(response.Results[0].StatusMessage, "EmailSendDefinition deleted"); }
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(); }