def METHOD_NAME():
    from sasctl.core import RestObj, request
    with mock.patch("sasctl.core.Session") as mock_sess:
        mock_sess.request.return_value.status_code = 200
        mock_sess.request.return_value.json.return_value = dict()
        resp = request("GET", "example.com", session=mock_sess)
    assert mock_sess.request.call_count == 1
    assert isinstance(resp, RestObj)
    assert hasattr(resp, "_headers")