def METHOD_NAME():
    records = [
        {"buildingID": 0, "date": "6/1/13", "temp_diff": 12},
        {"buildingID": 1, "date": "6/1/13", "temp_diff": 0},
        {"buildingID": 2, "date": "6/1/14", "temp_diff": 11},
        {"buildingID": 0, "date": "6/1/15", "temp_diff": 5},
        {"buildingID": 1, "date": "6/1/16", "temp_diff": 19},
        {"buildingID": 2, "date": "6/1/17", "temp_diff": 32},
    ]
    df = pd.DataFrame(records)
    encoding = Encoding()
    ipywidget_factory = MagicMock()
    ipywidget_factory.get_vbox.return_value = MagicMock(spec=Widget)
    EncodingWidget(df, encoding, change_hook, ipywidget_factory, testing=True)
    assert (
        call(
            description="X",
            value=None,
            options=[
                ("-", None),
                ("buildingID", "buildingID"),
                ("date", "date"),
                ("temp_diff", "temp_diff"),
            ],
        )
        in ipywidget_factory.get_dropdown.mock_calls
    )
    assert (
        call(
            description="Y",
            value=None,
            options=[
                ("-", None),
                ("buildingID", "buildingID"),
                ("date", "date"),
                ("temp_diff", "temp_diff"),
            ],
        )
        in ipywidget_factory.get_dropdown.mock_calls
    )
    assert (
        call(
            description="Func.",
            value="none",
            options=[
                ("-", "None"),
                ("Avg", "Avg"),
                ("Min", "Min"),
                ("Max", "Max"),
                ("Sum", "Sum"),
                ("Count", "Count"),
            ],
        )
        in ipywidget_factory.get_dropdown.mock_calls
    )