def METHOD_NAME(self):
    mock_invite = hikari_test_helpers.mock_class_namespace(
        invites.InviteCode, code=mock.PropertyMock(return_value="hikari")
    )()
    assert str(mock_invite) == "https://discord.gg/hikari"