Skip to content

Commit

Permalink
Merge branch 'master' into fix-1113-verify-all-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Holshausen authored Jun 11, 2020
2 parents 1d6e700 + e2a8dc2 commit fb4b45b
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,9 @@ open class InteractionRunner<I>(
val methods = findStateChangeMethod(state, testTarget.getStateHandlers())
if (methods.isEmpty()) {
return Fail(MissingStateChangeMethod("MissingStateChangeMethod: Did not find a test class method annotated " +
"with @State(\"${state.name}\")"))
"with @State(\"${state.name}\") " +
"for Interaction (\"${interaction.description}\") " +
"and Consumer ${pact.consumer.name}"))
} else {
stateChange = RunStateChanges(stateChange, methods, listOf(Supplier { target }) +
testTarget.getStateHandlers().map { it.right }, state, testContext, testTarget.verifier)
Expand Down

0 comments on commit fb4b45b

Please sign in to comment.