def METHOD_NAME(kb):
    """
    test wusa.uninstalled with a failure
    """
    mock_installed = MagicMock(side_effect=[True, True])
    with patch.dict(
        wusa.__salt__,
        {"wusa.is_installed": mock_installed, "wusa.uninstall": MagicMock()},
    ):
        returned = wusa.uninstalled(name=kb)
        expected = {
            "changes": {},
            "comment": "{} failed to uninstall".format(kb),
            "name": kb,
            "result": False,
        }
        assert expected == returned