MethodInvocationControl
, NewInvocationControl<T>
EasyMockMethodInvocationControl
, MockitoMethodInvocationControl
, MockitoNewInvocationControl
, NewInvocationControlImpl
public interface DefaultBehavior
Modifier and Type | Method | Description |
---|---|---|
Object |
replay(Object... mocks) |
Replay the given objects or classes.
|
Object |
reset(Object... mocks) |
Reset the given objects or classes.
|
Object |
verify(Object... mocks) |
Verify the given objects or classes.
|
Object replay(Object... mocks)
mock
- The object(s) to replay. May be null
.null
).Object verify(Object... mocks)
mock
- The object(s) to verify. May be null
.null
).Copyright © 2007–2019. All rights reserved.