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 163823b commit bc2e29f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,8 +156,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 Expand Up @@ -271,7 +271,7 @@ private void assertMorph(final String morphDef, final Consumer<Metamorph> in, fi
out.accept(() -> ordered.verify(receiver));

ordered.verifyNoMoreInteractions();
//Mockito.verifyNoMoreInteractions(receiver);
Mockito.verifyNoMoreInteractions(receiver);
}
catch (final MockitoAssertionError e) {
System.out.println(Mockito.mockingDetails(receiver).printInvocations());
Expand Down

0 comments on commit bc2e29f

Please sign in to comment.