solution: methods configuration for bitcoin

This commit is contained in:
Igor Artamonov
2020-04-26 20:35:19 -04:00
parent 63e5fb8824
commit 101578aa5f
6 changed files with 152 additions and 28 deletions

View File

@@ -19,7 +19,7 @@ class BitcoinApiSpec extends Specification {
mockServer = ClientAndServer.startClientAndServer(18332);
api = new BitcoinApi(
new BitcoinRpcClient("localhost:18332", null),
TestingCommons.objectMapper()
TestingCommons.objectMapper(), new DefaultBitcoinMethods(TestingCommons.objectMapper())
)
}