def METHOD_NAME(self):
    resource = StubSite(AddressBalanceResource(self.manager))
    # Invalid address
    response_error = yield resource.get('thin_wallet/address_search', {b'address': 'vvvv'.encode(), b'count': 3})
    data_error = response_error.json_value()
    self.assertFalse(data_error['success'])
    response = yield resource.get('thin_wallet/address_balance', {b'address': self.address.encode()})
    data = response.json_value()
    self.assertTrue(data['success'])
    # Genesis - token deposit + blocks mined
    HTR_value = settings.GENESIS_TOKENS - 1 + (settings.INITIAL_TOKENS_PER_BLOCK * 5)
    self.assertEqual(data['total_transactions'], 6)  # 5 blocks mined + token creation tx
    self.assertIn(settings.HATHOR_TOKEN_UID.hex(), data['tokens_data'])
    self.assertIn(self.token_uid.hex(), data['tokens_data'])
    self.assertEqual(HTR_value, data['tokens_data'][settings.HATHOR_TOKEN_UID.hex()]['received'])
    self.assertEqual(0, data['tokens_data'][settings.HATHOR_TOKEN_UID.hex()]['spent'])
    self.assertEqual(100, data['tokens_data'][self.token_uid.hex()]['received'])
    self.assertEqual(0, data['tokens_data'][self.token_uid.hex()]['spent'])