def METHOD_NAME(self, expr, flags, name, expected):
    """
    Test expression read operation with correct parameters.
    """
    ops = [expressions.expression_read(name, expr.compile(), flags)]
    _, _, res = self.as_connection.operate(self.key, ops)
    assert res == expected