@@ -0,0 +1,1038 @@
+/*%0A *    Copyright 2019 West Coast Informatics, LLC%0A */%0Apackage org.ihtsdo.otf.mapping.services.helpers;%0A%0Aimport java.util.Properties;%0A%0A// TODO: Auto-generated Javadoc%0A/**%0A * Config utility integration tests.%0A */%0Apublic class ConfigUtilityIntegrationTest %7B%0A%0A%09/**%0A%09 * Test email.%0A%09 *%0A%09 * @throws Exception the exception%0A%09 */%0A%09// @Test%0A%09public void testEmail() throws Exception %7B%0A%09%09final Properties details = new Properties();%0A%09%09details.setProperty(%22mail.enabled%22, %22true%22);%0A%09%09ConfigUtility.getConfigProperties().setProperty(%22mail.smtp.user%22, %22support@westcoastinformatics.com%22);%0A%09%09ConfigUtility.getConfigProperties().setProperty(%22mail.smtp.password%22, %22EDIT_THIS%22);%0A%09%09details.setProperty(%22mail.smtp.host%22, %22smtp.gmail.com%22);%0A%09%09details.setProperty(%22mail.smtp.port%22, %22587%22);%0A%09%09details.setProperty(%22mail.smtp.starttls.enable%22, %22true%22);%0A%09%09details.setProperty(%22mail.smtp.auth%22, %22true%22);%0A%0A%09%09ConfigUtility.sendEmail(%22Test Email%22, %22support@westcoastinformatics.com%22, %22test@westcoastinformatics.com%22,%0A%09%09%09%09%22Test support email.%22, details, true);%0A%0A%09%7D%0A%7D%0A

Add harness for testing sending email