Package org.encuestame.utils.mail

Examples of org.encuestame.utils.mail.InvitationBean


    /**
     * Test {@link InvitationBean}.
     */
    @Test
    public void testInvitationBean(){
        final InvitationBean ib = new InvitationBean();
        ib.setCode("code");
        ib.setEmail("juan@encuestame.org");
        ib.setListName("list");
        ib.setUrlInvitation("url");
        assertNotNull(ib.getCode());
        assertNotNull(ib.getEmail());
        assertNotNull(ib.getListName());
        assertNotNull(ib.getUrlInvitation());
    }
View Full Code Here


          createDefaultEmails(getProperty("mail.test.email2"), this.emailList);
          final List<Email> emailList = getCatEmailDao().findEmailsByListId(
                  this.emailList.getIdList());
          for (Email emails : emailList) {
                assertNotNull(emails.getEmail());
                final InvitationBean invitation = new InvitationBean();
                invitation.setCode("1253");
                invitation.setEmail((emails.getEmail().toString()));
                invitation.setListName(this.emailList.getListName());
                invitation.setUrlInvitation(URLPOLL);
                mailService.sendEmailInvitation(invitation);
              }
      }
View Full Code Here

TOP

Related Classes of org.encuestame.utils.mail.InvitationBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.