def METHOD_NAME():
    """
    Test if it get a value for a specific augeas path
    """
    mock = MagicMock(side_effect=RuntimeError("error"))
    with patch.object(_Augeas, "match", mock):
        assert augeas_cfg.get("/etc/hosts") == {"error": "error"}
    mock = MagicMock(return_value=True)
    with patch.object(_Augeas, "match", mock):
        assert augeas_cfg.get("/etc/hosts") == {"/etc/hosts": None}