14
14
package org .trellisldp .camel ;
15
15
16
16
import static java .util .Arrays .asList ;
17
+ import static org .junit .jupiter .api .Assertions .assertEquals ;
17
18
import static org .trellisldp .camel .ActivityStreamProcessor .ACTIVITY_STREAM_ACTOR ;
18
19
import static org .trellisldp .camel .ActivityStreamProcessor .ACTIVITY_STREAM_ID ;
19
20
import static org .trellisldp .camel .ActivityStreamProcessor .ACTIVITY_STREAM_INBOX ;
31
32
import org .apache .camel .ProducerTemplate ;
32
33
import org .apache .camel .builder .RouteBuilder ;
33
34
import org .apache .camel .component .mock .MockEndpoint ;
34
- import org .apache .camel .test .junit4 .CamelTestSupport ;
35
- import org .junit .Test ;
35
+ import org .apache .camel .test .junit5 .CamelTestSupport ;
36
+ import org .junit .jupiter . api . Test ;
36
37
37
38
/**
38
39
* @author acoburn
@@ -87,7 +88,7 @@ public void testActivityStreamProcessor() throws IOException, InterruptedExcepti
87
88
resultEndpoint .assertIsSatisfied ();
88
89
89
90
final Map result = resultEndpoint .getExchanges ().get (0 ).getIn ().getBody (Map .class );
90
- assertEquals ("Check the result body" , data , result );
91
+ assertEquals (data , result , "Check the result body" );
91
92
}
92
93
93
94
@ Test
@@ -114,7 +115,7 @@ public void testActivityStreamProcessorMissingSomeValues() throws IOException, I
114
115
resultEndpoint .assertIsSatisfied ();
115
116
116
117
final Map result = resultEndpoint .getExchanges ().get (0 ).getIn ().getBody (Map .class );
117
- assertEquals ("Check the result body" , data , result );
118
+ assertEquals (data , result , "Check the result body" );
118
119
}
119
120
120
121
@ Test
@@ -134,7 +135,7 @@ public void testActivityStreamProcessorMissingAllValues() throws IOException, In
134
135
resultEndpoint .assertIsSatisfied ();
135
136
136
137
final Map result = resultEndpoint .getExchanges ().get (0 ).getIn ().getBody (Map .class );
137
- assertEquals ("Check the result body" , data , result );
138
+ assertEquals (data , result , "Check the result body" );
138
139
}
139
140
140
141
@ Override
0 commit comments