wanted.toString()
));
}
public void wantedButNotInvokedInOrder(PrintableInvocation wanted, PrintableInvocation previous, HasStackTrace previousStackTrace) {
WantedAnywhereAfterFollowingInteraction cause = new WantedAnywhereAfterFollowingInteraction(join(
"Wanted anywhere AFTER following interaction:",
previous.toString()));
cause.setStackTrace(previousStackTrace.getStackTrace());
throw new VerifcationInOrderFailure(join(
"Verification in order failure",
"Wanted but not invoked:",
wanted.toString()