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