|
1 |
| package com.agical.rmock.core.find.match.method; |
|
2 |
| |
|
3 |
| import com.agical.rmock.core.expectation.modification.ExpectationModifier; |
|
4 |
| |
|
5 |
| |
|
6 |
| public class MethodMatchActionFactory { |
|
7 |
| private final ExpectationModifier expectationModifier; |
|
8 |
| |
|
9 |
4
| public ParameterBuilder invokeOn(Object object) {
|
|
10 |
4
| return new ExecuteMethodOnTargetMatchAction(object);
|
|
11 |
| } |
|
12 |
| |
|
13 |
0
| public ReplayModifier replayModifier() {
|
|
14 |
0
| return new ReplayModifier(expectationModifier);
|
|
15 |
| } |
|
16 |
| |
|
17 |
544
| public MethodMatchActionFactory(ExpectationModifier expectationModifier) {
|
|
18 |
544
| this.expectationModifier = expectationModifier;
|
|
19 |
| } |
|
20 |
| } |