Skip to content
Snippets Groups Projects
Commit 075746c1 authored by Nelson Tavares de Sousa's avatar Nelson Tavares de Sousa
Browse files

removed bug in test

parent 66cd9c25
No related branches found
No related tags found
No related merge requests found
......@@ -87,9 +87,9 @@ public class MergerTest {
test(mergerUnderTest)
.and().send(1, 2, 3).to(mergerUnderTest.getNewInputPort())
.and().send(4, 5, 6).to(mergerUnderTest.getNewInputPort())
.and().receive(outputList);
.and().receive(outputList).from(mergerUnderTest.getOutputPort()).start();
assertThat(outputList, is(not(empty())));
assertThat(outputList, contains(1, 2, 3, 4, 5, 6));
assertThat(outputList, contains(1, 4, 2, 5, 3, 6));
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment