def METHOD_NAME():
    mock = MagicMock(return_value=True)
    with patch.dict(
        rvm.__salt__,
        {"rvm.is_installed": MagicMock(return_value=False), "rvm.install": mock},
    ):
        rvm._check_rvm({"changes": {}})
        assert mock.call_count == 0