예제 #1
0
  /**
   * Test method for {@link co.innovate.rentavoz.mail.impl.MailServiceImpl#send(java.lang.String,
   * java.lang.String, java.lang.String, java.io.File[])} .
   */
  @Test
  public void testSendFileArray() {

    try {
      service.send(GMAIL_DIR, TITLE_MAIL_TEST, CONTENT_MAIL_TEST, FILE_LOGO);
    } catch (Exception e) {
      fail(e.toString());
    }
  }
예제 #2
0
  /**
   * Test method for {@link co.innovate.rentavoz.mail.impl.MailServiceImpl#send(java.lang.String,
   * java.lang.String, java.lang.String)} .
   */
  @Test
  public void testSend() {
    try {
      assertNotNull(GMAIL_DIR);
      service.send(GMAIL_DIR, TITLE_MAIL_TEST, CONTENT_MAIL_TEST);

    } catch (Exception e) {
      fail(e.toString());
    }
  }