From 671e711ddad1ce9ce0bd5f36ea3a40cb4bd14831 Mon Sep 17 00:00:00 2001 From: josecoll Date: Mon, 18 Dec 2017 12:00:03 +0000 Subject: [PATCH] Added missing Mock expectation. --- .../src/main/kotlin/net/corda/testing/node/MockNode.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/testing/node-driver/src/main/kotlin/net/corda/testing/node/MockNode.kt b/testing/node-driver/src/main/kotlin/net/corda/testing/node/MockNode.kt index 482ea0fa47..c4f7c25d72 100644 --- a/testing/node-driver/src/main/kotlin/net/corda/testing/node/MockNode.kt +++ b/testing/node-driver/src/main/kotlin/net/corda/testing/node/MockNode.kt @@ -503,5 +503,6 @@ private fun mockNodeConfiguration(): NodeConfiguration { doReturn(5.seconds.toMillis()).whenever(it).additionalNodeInfoPollingFrequencyMsec doReturn(null).whenever(it).devModeOptions doReturn(true).whenever(it).useAMQPBridges + doReturn(EnterpriseConfiguration(MutualExclusionConfiguration(false, "", 20000, 40000))).whenever(it).enterpriseConfiguration } }