public class InstrumentedInstance
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
assertMethodCallCount(java.lang.String message,
java.lang.String methodName,
CallCount callCount)
Checks that the number of known invocations of the given method falls
within the specified range.
|
int |
getInvocationCount(java.lang.String methodName)
Returns the number of known invocations of the given method upon the object instance.
|
public int getInvocationCount(java.lang.String methodName)
methodName - the method name to look for.public void assertMethodCallCount(java.lang.String message,
java.lang.String methodName,
CallCount callCount)
message - the message to print in case of assertion failure.methodName - the method name to look for.callCount - the expected range for the invocation count.Copyright © 2013. All Rights Reserved.