public static Customer GetCustomer() { var customer = new Customer { email = TestingUtil.GetRandomString() + "@gmail.com", customerData = GetCustomerData(), userReference = 0 }; return(customer); }
public void ExpresslyPluginInstallTest() { try { var apiContext = TestingUtil.GetApiContext(); this.RecordConnectionDetails(); var isInstall = ExpresslyPlugin.Install(); this.RecordConnectionDetails(); Assert.IsTrue(isInstall); } catch (ConnectionException) { this.RecordConnectionDetails(false); throw; } }