def METHOD_NAME():
    dag = AIRFLOW_DAG(dag_id='test_dag',
                      schedule_interval='*/2 * * * *',
                      start_date=datetime.datetime.now(),
                      catchup=False)
    task = DummyOperator(task_id='test_task', dag=dag)
    encodable = to_json_encodable(task)
    encoded = json.dumps(encodable)
    decoded = json.loads(encoded)
    assert decoded == encodable