def METHOD_NAME(mocker):
    """
    Ensure set_icon loads and sets the icon.
    """
    setIcon_fn = mocker.patch("securedrop_client.gui.base.SvgToggleButton.setIcon")
    icon = mocker.MagicMock()
    load_icon_fn = mocker.patch("securedrop_client.gui.base.misc.load_icon", return_value=icon)
    stb = SvgToggleButton(on="mock_on", off="mock_off")
    stb.set_icon(on="mock_on", off="mock_off")
    load_icon_fn.assert_called_with(normal="mock_on", normal_off="mock_off")
    setIcon_fn.assert_called_with(icon)
    assert stb._icon == icon