Used by Variable/Connection.

https://github.com/apache/airflow/blob/894741e311ffd642e036b80d3b1b5d53c3747cad/airflow/secrets/metastore.py#L32

"input_data, method_result, method_params, expected_mock, expected_code",
        [
            (
                {"jsonrpc": "2.0", "method": TEST_METHOD_NAME, "params": ""},
                "test_me",
                {},
                mock_test_method,
                200,
            ),
            (
                {"jsonrpc": "2.0", "method": TEST_METHOD_NAME, "params": ""},
                None,
                {},
                mock_test_method,
                200,
            ),
            (
                {
                    "jsonrpc": "2.0",
                    "method": TEST_METHOD_NAME,
                    "params": json.dumps(BaseSerialization.serialize({"dag_id": 15, "task_id": "fake-task"})),
                },
                ("dag_id_15", "fake-task", 1),
                {"dag_id": 15, "task_id": "fake-task"},
                mock_test_method,
                200,
            ),
        ],
    )
    def test_method(self, input_data, method_result, method_params, expected_mock, expected_code):