def METHOD_NAME(self):
    # Arrange
    currency = Currency(
        code="AUD",
        precision=2,
        iso4217=36,
        name="Australian dollar",
        currency_type=CurrencyType.FIAT,
    )
    # Act
    pickled = pickle.dumps(currency)
    unpickled = pickle.loads(pickled)  # noqa S301 (pickle is safe here)
    # Assert
    assert unpickled == currency
    assert (
        repr(unpickled)
        == 'Currency { code: u!("AUD"), precision: 2, iso4217: 36, name: u!("Australian dollar"), currency_type: Fiat }'
    )