code: def test_total_balances(portfolio_locked):
      total_balances = [10000 * USD, 1 * BTC, 10 * ETH, 5000 * XRP]
      assert portfolio_locked.total_balances == total_balances
  
imports: import pytest
  import unittest.mock
  from tensortrade.core.base import Clock
  from tensortrade.oms.wallets import Wallet, Portfolio
  from tensortrade.oms.instruments import USD, BTC, ETH, XRP, BCH
label_desc: Use image node_id 16 for calling a global function with example usage: test_total_balances(portfolio_locked) without return types