@@ -21,8 +21,8 @@ public class InOutManagerTest {
21
21
22
22
@ Test
23
23
public void test () {
24
- extracted (InOutManager .ofAbcAbc (), "ABCABC " );
25
- extracted (InOutManager .ofPipeline (), "ABCCBA " );
24
+ extracted (InOutManager .ofAbcAbc (), "Ain Bin Cin Aout Bout Cout " );
25
+ extracted (InOutManager .ofPipeline (), "Ain Bin Cin Cout Bout Aout " );
26
26
}
27
27
28
28
private void extracted (InOutManager inOutManager , String result ) {
@@ -36,7 +36,7 @@ private void extracted(InOutManager inOutManager, String result) {
36
36
inOutManager .fuckOut (flowContext );
37
37
38
38
List <String > resultList = flowContext .option (resultListOption );
39
- var line = String .join ("" , resultList );
39
+ var line = String .join (" " , resultList );
40
40
Assert .assertEquals (line , result );
41
41
42
42
System .out .println ();
@@ -48,13 +48,13 @@ class A_ActionMethodInOut implements ActionMethodInOut {
48
48
@ Override
49
49
public void fuckIn (FlowContext flowContext ) {
50
50
log .info ("A in" );
51
- flowContext .option (InOutManagerTest .resultListOption ).add ("A " );
51
+ flowContext .option (InOutManagerTest .resultListOption ).add ("Ain " );
52
52
}
53
53
54
54
@ Override
55
55
public void fuckOut (FlowContext flowContext ) {
56
56
log .info ("A out" );
57
- flowContext .option (InOutManagerTest .resultListOption ).add ("A " );
57
+ flowContext .option (InOutManagerTest .resultListOption ).add ("Aout " );
58
58
}
59
59
}
60
60
@@ -63,13 +63,13 @@ class B_ActionMethodInOut implements ActionMethodInOut {
63
63
@ Override
64
64
public void fuckIn (FlowContext flowContext ) {
65
65
log .info ("B in" );
66
- flowContext .option (InOutManagerTest .resultListOption ).add ("B " );
66
+ flowContext .option (InOutManagerTest .resultListOption ).add ("Bin " );
67
67
}
68
68
69
69
@ Override
70
70
public void fuckOut (FlowContext flowContext ) {
71
71
log .info ("B out" );
72
- flowContext .option (InOutManagerTest .resultListOption ).add ("B " );
72
+ flowContext .option (InOutManagerTest .resultListOption ).add ("Bout " );
73
73
}
74
74
}
75
75
@@ -78,12 +78,12 @@ class C_ActionMethodInOut implements ActionMethodInOut {
78
78
@ Override
79
79
public void fuckIn (FlowContext flowContext ) {
80
80
log .info ("C in" );
81
- flowContext .option (InOutManagerTest .resultListOption ).add ("C " );
81
+ flowContext .option (InOutManagerTest .resultListOption ).add ("Cin " );
82
82
}
83
83
84
84
@ Override
85
85
public void fuckOut (FlowContext flowContext ) {
86
86
log .info ("C out" );
87
- flowContext .option (InOutManagerTest .resultListOption ).add ("C " );
87
+ flowContext .option (InOutManagerTest .resultListOption ).add ("Cout " );
88
88
}
89
89
}
0 commit comments