com.bolinfest.prisonerbot
Class ManagerTest.NullProxy
java.lang.Object
com.bolinfest.prisonerbot.ManagerTest.NullProxy
- All Implemented Interfaces:
- MessageProxy
- Enclosing class:
- ManagerTest
protected static class ManagerTest.NullProxy
- extends Object
- implements MessageProxy
NullProxy
is a MessageProxy
that
simulates sending messages online. Because it is a simulator,
it can be used in offline unit tests.
- Author:
- mbolin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ManagerTest.NullProxy
protected ManagerTest.NullProxy()
addBuddy
public void addBuddy(Buddy buddy)
- Description copied from interface:
MessageProxy
- adds the buddy to the list of the buddies who can be messaged
- Specified by:
addBuddy
in interface MessageProxy
sendMessage
public void sendMessage(Buddy buddy,
String message)
- Specified by:
sendMessage
in interface MessageProxy