|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.mock.core.BehaviorDefiningInvocations
public class BehaviorDefiningInvocations
| Field Summary | |
|---|---|
protected java.util.List<BehaviorDefiningInvocation> |
behaviorDefiningInvocations
|
protected boolean |
removeWhenUsed
|
| Constructor Summary | |
|---|---|
BehaviorDefiningInvocations(boolean removeWhenUsed)
|
|
| Method Summary | |
|---|---|
void |
addBehaviorDefiningInvocation(BehaviorDefiningInvocation behaviorDefiningInvocation)
|
void |
clear()
|
BehaviorDefiningInvocation |
getMatchingBehaviorDefiningInvocation(ProxyInvocation proxyInvocation)
First we find all behavior defining invocations that have matching argument matchers and take the one with the highest matching score (identity match scores higher than an equals match). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected boolean removeWhenUsed
protected java.util.List<BehaviorDefiningInvocation> behaviorDefiningInvocations
| Constructor Detail |
|---|
public BehaviorDefiningInvocations(boolean removeWhenUsed)
| Method Detail |
|---|
public void addBehaviorDefiningInvocation(BehaviorDefiningInvocation behaviorDefiningInvocation)
public void clear()
public BehaviorDefiningInvocation getMatchingBehaviorDefiningInvocation(ProxyInvocation proxyInvocation)
proxyInvocation - The actual invocation to match with, not null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||