Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.mockobjects.examples.password
Class MockPasswordReminder  view MockPasswordReminder download MockPasswordReminder.java

java.lang.Object
  extended bycom.mockobjects.MockObject
      extended bycom.mockobjects.examples.password.MockPasswordReminder
All Implemented Interfaces:
PasswordReminder, com.mockobjects.Verifiable

public class MockPasswordReminder
extends com.mockobjects.MockObject
implements PasswordReminder


Field Summary
private  com.mockobjects.ExpectationValue emailAddress
           
private  boolean emailNotFound
           
 
Constructor Summary
MockPasswordReminder()
           
 
Method Summary
 void sendReminder(java.lang.String anEmailAddress)
           
 void setExpectedEmailAddress(java.lang.String anEmailAddress)
           
 void setupEmailNotFound()
           
 
Methods inherited from class com.mockobjects.MockObject
assertEquals, assertEquals, assertTrue, fail, notImplemented, notYetImplemented, notYetImplemented, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

emailAddress

private com.mockobjects.ExpectationValue emailAddress

emailNotFound

private boolean emailNotFound
Constructor Detail

MockPasswordReminder

public MockPasswordReminder()
Method Detail

sendReminder

public void sendReminder(java.lang.String anEmailAddress)
                  throws NotFoundException
Specified by:
sendReminder in interface PasswordReminder

setExpectedEmailAddress

public void setExpectedEmailAddress(java.lang.String anEmailAddress)

setupEmailNotFound

public void setupEmailNotFound()