async def METHOD_NAME(coresys: CoreSys, install_addon_ssh):
    """Test integrity check with content trust failed."""
    coresys.homeassistant.core.check_trust = AsyncMock(side_effect=CodeNotaryError)
    coresys.supervisor.check_trust = AsyncMock(side_effect=CodeNotaryError)
    install_addon_ssh.check_trust = AsyncMock(side_effect=CodeNotaryError)
    install_addon_ssh.data["codenotary"] = "test@example.com"
    result = await coresys.security.integrity_check.__wrapped__(coresys.security)
    assert result.core == ContentTrustResult.FAILED
    assert result.supervisor == ContentTrustResult.FAILED
    assert result.addons[install_addon_ssh.slug] == ContentTrustResult.FAILED