| Package | Description |
|---|---|
| org.easymock | |
| org.easymock.internal.matchers |
| Modifier and Type | Method and Description |
|---|---|
static <T> Capture<T> |
EasyMock.newCapture()
Create a new capture instance that will keep only the last captured value.
|
static <T> Capture<T> |
EasyMock.newCapture(CaptureType type)
Create a new capture instance with a specific
CaptureType |
static <T> Capture<T> |
EasyMock.newCapture(CaptureType type,
UnaryOperator<T> transform)
Create a new capture instance with a specific
CaptureType
and a specific transformation function to change the values into a different value. |
static <T> Capture<T> |
EasyMock.newCapture(UnaryOperator<T> transform)
Create a new capture instance with a specific and a specific transformation
function to change the values into a different value.
|
static <T> Capture<T> |
Capture.newInstance()
Create a new capture instance that will keep only the last captured value.
|
static <T> Capture<T> |
Capture.newInstance(CaptureType type)
Create a new capture instance with a specific
CaptureType. |
static <T> Capture<T> |
Capture.newInstance(CaptureType type,
UnaryOperator<T> transform)
Create a new capture instance with a specific
CaptureType
and a specific transformation function to change the values
into a different value. |
static <T> Capture<T> |
Capture.newInstance(UnaryOperator<T> transform)
Create a new capture instance with a specific transformation
function to change the values into a different value.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> T |
EasyMock.capture(Capture<T> captured)
Expect any object but captures it for later use.
|
static boolean |
EasyMock.captureBoolean(Capture<Boolean> captured)
Expect any boolean but captures it for later use.
|
static byte |
EasyMock.captureByte(Capture<Byte> captured)
Expect any byte but captures it for later use.
|
static char |
EasyMock.captureChar(Capture<Character> captured)
Expect any char but captures it for later use.
|
static double |
EasyMock.captureDouble(Capture<Double> captured)
Expect any double but captures it for later use.
|
static float |
EasyMock.captureFloat(Capture<Float> captured)
Expect any float but captures it for later use.
|
static int |
EasyMock.captureInt(Capture<Integer> captured)
Expect any int but captures it for later use.
|
static long |
EasyMock.captureLong(Capture<Long> captured)
Expect any long but captures it for later use.
|
| Constructor and Description |
|---|
Captures(Capture<T> captured) |
Copyright © 2001–2024 EasyMock contributors. All rights reserved.