ninja.postoffice.mock
Class PostofficeMockImpl

java.lang.Object
  extended by ninja.postoffice.mock.PostofficeMockImpl
All Implemented Interfaces:
Postoffice

public class PostofficeMockImpl
extends Object
implements Postoffice


Constructor Summary
PostofficeMockImpl()
           
 
Method Summary
 Mail getLastSentMail()
           
 void send(Mail mail)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PostofficeMockImpl

public PostofficeMockImpl()
Method Detail

send

public void send(Mail mail)
          throws org.apache.commons.mail.EmailException
Specified by:
send in interface Postoffice
Throws:
org.apache.commons.mail.EmailException

getLastSentMail

public Mail getLastSentMail()


Copyright © 2012. All Rights Reserved.