def METHOD_NAME(accounts):
    class TestSubType(EIP712Type):
        inner: "uint256"  # type: ignore # noqa: F821
    class TestMessage(EIP712Message):
        _name_: "string" = "Brownie Tests"  # type: ignore # noqa: F821
        value: "uint256"  # type: ignore # noqa: F821
        default_value: "address" = "0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF"  # type: ignore # noqa: F821,E501
        sub: TestSubType
    local = accounts.add(priv_key)
    msg = TestMessage(value=1, sub=TestSubType(inner=2))
    signed = local.sign_message(msg)
    assert isinstance(signed, SignedMessage)
    assert (
        signed.messageHash.hex()
        == "0x131c497d4b815213752a2a00564dcf667c3bf3f85a410ef8cb50050b51959c26"
    )