def METHOD_NAME(kb):
    """
    test wusa.uninstalled with test=True
    """
    mock_installed = MagicMock(return_value=True)
    with patch.dict(wusa.__salt__, {"wusa.is_installed": mock_installed}), patch.dict(
        wusa.__opts__, {"test": True}
    ):
        returned = wusa.uninstalled(name=kb)
        expected = {
            "changes": {},
            "comment": "{} would be uninstalled".format(kb),
            "name": kb,
            "result": None,
        }
        assert expected == returned