.setProperty("to", "german.escobarc@gmail.com")
.setProperty("from", "test@localhost.com")
.setProperty("subject", "574003222222")
.setProperty("text", "This is a test");
EmailToSmsAction action = new EmailToSmsAction();
action.setUseSubjectAsTo(true);
action.setSmsFrom("54321");
action.execute(message);
Assert.assertEquals(message.getProperty("to", String.class), "574003222222");
Assert.assertEquals(message.getProperty("emailTo", String.class), "german.escobarc@gmail.com");
Assert.assertEquals(message.getProperty("from", String.class), "54321");
Assert.assertEquals(message.getProperty("emailFrom", String.class), "test@localhost.com");