diff --git a/core/src/test/kotlin/net/corda/core/flows/FinalityFlowTests.kt b/core/src/test/kotlin/net/corda/core/flows/FinalityFlowTests.kt index 20f1c9928c..b352d3f49f 100644 --- a/core/src/test/kotlin/net/corda/core/flows/FinalityFlowTests.kt +++ b/core/src/test/kotlin/net/corda/core/flows/FinalityFlowTests.kt @@ -44,7 +44,7 @@ class FinalityFlowTests : WithFinality { aliceNode.finalise(stx), willReturn( requiredSignatures(1) - and transactionVisibleTo(bobNode))) + and visibleTo(bobNode))) } @Test diff --git a/core/src/test/kotlin/net/corda/core/flows/mixins/WithFinality.kt b/core/src/test/kotlin/net/corda/core/flows/mixins/WithFinality.kt index fe1811520d..ec0b915b1e 100644 --- a/core/src/test/kotlin/net/corda/core/flows/mixins/WithFinality.kt +++ b/core/src/test/kotlin/net/corda/core/flows/mixins/WithFinality.kt @@ -28,7 +28,7 @@ interface WithFinality : WithMockNet { //endregion //region Matchers - fun transactionVisibleTo(other: StartedNode<*>) = object : Matcher { + fun visibleTo(other: StartedNode<*>) = object : Matcher { override val description = "has a transaction visible to ${other.info.singleIdentity()}" override fun invoke(actual: SignedTransaction) = equalTo(actual)(other.getValidatedTransaction(actual))