|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Behavior | |
---|---|
biz.xsoftware.mock | The only package of MockObject which contains the classes to create(or allow the creation of) mock objects from interfaces. |
Uses of Behavior in biz.xsoftware.mock |
---|
Subinterfaces of Behavior in biz.xsoftware.mock | |
---|---|
interface |
CloningBehavior
The same exact thing as the Behavior method except a cloning method must be supplied to. |
Methods in biz.xsoftware.mock with parameters of type Behavior | |
---|---|
void |
MockObject.addBehavior(MethodSignature methodSignature,
Behavior behavior)
Adds a snippet of code to be run which exists in the Behavior implementation. |
void |
MockObject.addBehavior(String method,
Behavior behavior)
Adds a snippet of code to be run which exists in the Behavior implementation. |
void |
MockObject.addBehavior(String method,
Behavior behavior,
Class<?>... argTypes)
Deprecated. Since 2007 Aug 8. Use MockObject.addBehavior(MethodSignature, Behavior) instead |
void |
MockObject.setBehavior(Behavior behavior)
This method will look at the given behavior and will automatically call MockObject.setDefaultBehavior(String, Behavior, Class[]) for all the
methods that have the BehaviorMethod annotation |
void |
MockObject.setDefaultBehavior(MethodSignature methodSignature,
Behavior b)
Set the DefaultBehavior for a 'method'. |
void |
MockObject.setDefaultBehavior(String method,
Behavior b)
Set the DefaultBehavior for a 'method'. |
void |
MockObject.setDefaultBehavior(String method,
Behavior b,
Class<?>... argTypes)
Deprecated. Since 2007 Aug 8. Use MockObject.setDefaultBehavior(MethodSignature, Behavior)
instead |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |