|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.unitils.mock.mockbehavior.impl.DefaultValueReturningMockBehavior
org.unitils.mock.mockbehavior.impl.StubMockBehavior
public class StubMockBehavior
Mock behavior that returns a default value if a value can be returned, nothing happens when the result type is void.
See DefaultValueReturningMockBehavior for more info on the defaults.
| Constructor Summary | |
|---|---|
StubMockBehavior()
|
|
| Method Summary | |
|---|---|
void |
assertCanExecute(ProxyInvocation proxyInvocation)
Stub behavior is always allowed. |
| Methods inherited from class org.unitils.mock.mockbehavior.impl.DefaultValueReturningMockBehavior |
|---|
execute, resolveNumber |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StubMockBehavior()
| Method Detail |
|---|
public void assertCanExecute(ProxyInvocation proxyInvocation)
throws UnitilsException
assertCanExecute in interface ValidatableMockBehaviorassertCanExecute in class DefaultValueReturningMockBehaviorproxyInvocation - The proxy method invocation, not null
UnitilsException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||