|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.agical.rmock.core.match.constraint.method.MethodConstraintFactory
public class MethodConstraintFactory
Constructor Summary | |
---|---|
MethodConstraintFactory()
|
Method Summary | |
---|---|
Expression |
name(Expression expression)
Passes if the mame of any method passed to this constraint passes the expression passes as the expression parameter. |
Expression |
paramTypes(Expression[] expressions)
Returns an expression that matches the parametertypes of a method. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodConstraintFactory()
Method Detail |
---|
public Expression name(Expression expression)
expression
- The expression the name of a methofd passed to the constraint must pass
public Expression paramTypes(Expression[] expressions)
expressions
- Expressions to match the parameter types of this method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |