Skip to content

Commit

Permalink
Metamorph basics test should verify that no unexpected interactions o…
Browse files Browse the repository at this point in the history
…ccurred at all.

* Changed `shouldHandleUnmatchedLiteralsAndEntitiesInElseNestedSource` to match actual behaviour (see #338).
  • Loading branch information
blackwinter committed Nov 2, 2020
1 parent 78811b7 commit e4c6fe5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public static void assertMorph(final StreamReceiver receiver, final String morph
out.accept(() -> ordered.verify(receiver), i -> ordered.verify(receiver, Mockito.times(i)));

ordered.verifyNoMoreInteractions();
//Mockito.verifyNoMoreInteractions(receiver);
Mockito.verifyNoMoreInteractions(receiver);
}
catch (final MockitoAssertionError e) {
System.out.println(Mockito.mockingDetails(receiver).printInvocations());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@ public void shouldHandleUnmatchedLiteralsAndEntitiesInElseNestedSource() {
o.get().literal("Shikotan", "Aekap");
o.get().startEntity("Germany");
o.get().literal("Langeoog", "Moin");
//o.get().endEntity();
//o.get().startEntity("Germany");
o.get().endEntity();
o.get().startEntity("Germany");
o.get().literal("Baltrum", "Moin Moin");
o.get().endEntity();
o.get().startEntity("USA");
Expand Down

0 comments on commit e4c6fe5

Please sign in to comment.