org.kuali.rice.kcb.test.service.impl
Class MockEmailServiceImpl

java.lang.Object
  extended by org.kuali.rice.kcb.service.impl.EmailServiceImpl
      extended by org.kuali.rice.kcb.test.service.impl.MockEmailServiceImpl
All Implemented Interfaces:
EmailService, MockEmailService

public class MockEmailServiceImpl
extends EmailServiceImpl
implements MockEmailService

Mock EmailService implementation that does not actually send any mail

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

Field Summary
 Map<String,List<Map<String,String>>> MAILBOXES
           
 
Constructor Summary
MockEmailServiceImpl()
           
 
Method Summary
 Map<String,List<Map<String,String>>> getMailBoxes()
           
protected  void sendEmail(String message, String subject, String from, String sendTo, String format)
           
 
Methods inherited from class org.kuali.rice.kcb.service.impl.EmailServiceImpl
sendEmail, setDefaultSender, setMailer, setWeburl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.kuali.rice.kcb.service.EmailService
sendEmail
 

Field Detail

MAILBOXES

public final Map<String,List<Map<String,String>>> MAILBOXES
Constructor Detail

MockEmailServiceImpl

public MockEmailServiceImpl()
Method Detail

getMailBoxes

public Map<String,List<Map<String,String>>> getMailBoxes()
Specified by:
getMailBoxes in interface MockEmailService
See Also:
MockEmailService.getMailBoxes()

sendEmail

protected void sendEmail(String message,
                         String subject,
                         String from,
                         String sendTo,
                         String format)
See Also:
org.kuali.rice.kcb.service.impl.EmailServiceImpl#sendEmail(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.