mocks
Class MockDefaultEmailServiceImpl

java.lang.Object
  extended by org.kuali.rice.kew.mail.service.impl.DefaultEmailService
      extended by mocks.MockDefaultEmailServiceImpl
All Implemented Interfaces:
EmailService, org.springframework.beans.factory.InitializingBean

public class MockDefaultEmailServiceImpl
extends DefaultEmailService

This class is used to disallow email sending for KEW tests

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
private static org.apache.log4j.Logger LOG
           
 
Fields inherited from class org.kuali.rice.kew.mail.service.impl.DefaultEmailService
mailer, PASSWORD_PROPERTY, USERNAME_PROPERTY
 
Constructor Summary
MockDefaultEmailServiceImpl()
           
 
Method Summary
 void sendEmail(EmailFrom from, EmailTo to, EmailSubject subject, EmailBody body, boolean htmlMessage)
          MOCK METHOD USED TO OVERRIDE EMAIL DELIVERY
 
Methods inherited from class org.kuali.rice.kew.mail.service.impl.DefaultEmailService
afterPropertiesSet, createMailer, getMailer, sendEmail, setMailer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

private static final org.apache.log4j.Logger LOG
Constructor Detail

MockDefaultEmailServiceImpl

public MockDefaultEmailServiceImpl()
Method Detail

sendEmail

public void sendEmail(EmailFrom from,
                      EmailTo to,
                      EmailSubject subject,
                      EmailBody body,
                      boolean htmlMessage)
MOCK METHOD USED TO OVERRIDE EMAIL DELIVERY

Specified by:
sendEmail in interface EmailService
Overrides:
sendEmail in class DefaultEmailService


Copyright © 2007-2011 The Kuali Foundation. All Rights Reserved.