def METHOD_NAME(self, func, expected_result, int_type, min, max, node=None):
    """Check null function with Int128, UInt128, Int256, and UInt256 using table tests.
    """
    table_name = f"table_{getuid()}"
    if node is None:
        node = self.context.node
    with Given("I have a table"):
        table(name = table_name, data_type = f'Nullable({int_type})')
    for value in [1, min, max]:
        with When(f"I insert the output of {func} with {int_type} and {value}"):
            node.query(f"INSERT INTO {table_name} SELECT {func} to{int_type}(\'{value}\'))")
    with Then(f"I check {func} with {int_type} on the table"):
        execute_query(f"""
            SELECT * FROM {table_name} ORDER BY a ASC
            """)