1414package org .trellisldp .camel ;
1515
1616import static java .util .Arrays .asList ;
17+ import static org .junit .jupiter .api .Assertions .assertEquals ;
1718import static org .trellisldp .camel .ActivityStreamProcessor .ACTIVITY_STREAM_ACTOR ;
1819import static org .trellisldp .camel .ActivityStreamProcessor .ACTIVITY_STREAM_ID ;
1920import static org .trellisldp .camel .ActivityStreamProcessor .ACTIVITY_STREAM_INBOX ;
3132import org .apache .camel .ProducerTemplate ;
3233import org .apache .camel .builder .RouteBuilder ;
3334import 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 ;
3637
3738/**
3839 * @author acoburn
@@ -87,7 +88,7 @@ public void testActivityStreamProcessor() throws IOException, InterruptedExcepti
8788 resultEndpoint .assertIsSatisfied ();
8889
8990 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" );
9192 }
9293
9394 @ Test
@@ -114,7 +115,7 @@ public void testActivityStreamProcessorMissingSomeValues() throws IOException, I
114115 resultEndpoint .assertIsSatisfied ();
115116
116117 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" );
118119 }
119120
120121 @ Test
@@ -134,7 +135,7 @@ public void testActivityStreamProcessorMissingAllValues() throws IOException, In
134135 resultEndpoint .assertIsSatisfied ();
135136
136137 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" );
138139 }
139140
140141 @ Override
0 commit comments