def METHOD_NAME():
    modifier = predictors.PredictorConstructorRefactor()
    node = ast_call("sagemaker.RealTimePredictor(endpoint='a')")
    modifier.modify_node(node)
    assert "sagemaker.Predictor(endpoint_name='a')" == pasta.dump(node)
    node = ast_call("RealTimePredictor(endpoint='a')")
    modifier.modify_node(node)
    assert "Predictor(endpoint_name='a')" == pasta.dump(node)
    node = ast_call("sagemaker.amazon.kmeans.KMeansPredictor(endpoint='a')")
    modifier.modify_node(node)
    assert "sagemaker.amazon.kmeans.KMeansPredictor(endpoint_name='a')" == pasta.dump(node)
    node = ast_call("KMeansPredictor(endpoint='a')")
    modifier.modify_node(node)
    assert "KMeansPredictor(endpoint_name='a')" == pasta.dump(node)