public async System.Threading.Tasks.Task CreateNewAddressAsync() { Console.WriteLine("start"); var repositoryConfig = new RepositoryConfiguration { ConnectionString = AppSettingHelper.GetDbConnection() }; Console.WriteLine("New Address"); PersistenceFactory = new VakapayRepositoryMysqlPersistenceFactory(repositoryConfig); var connection = PersistenceFactory.GetDbConnection(); _btcBus = new Vakapay.BitcoinBusiness.BitcoinBusiness(PersistenceFactory); var bitcoinRepo = PersistenceFactory.GetBitcoinAddressRepository(connection); string walletId = CommonHelper.RandomString(15); var resultCreated = await _btcBus.CreateAddressAsync <BitcoinAddress>(bitcoinRepo, RpcClass, walletId); Console.WriteLine(JsonHelper.SerializeObject(resultCreated)); Assert.IsNotNull(resultCreated); }