def METHOD_NAME(filetype, locations, type_method_map_fixture):
    """Test export_to_dataframe() for all locations and filetypes, where the file type is explicitly specified"""
    if filetype == "parquet":
        data = str.encode("data")
    else:
        data = "data"
    with patch(type_method_map_fixture[FileType(filetype)]) as mocked_read, patch(
        "astro.files.base.smart_open.open", mock_open(read_data=data)
    ) as mocked_smart_open:
        path = locations["path"]
        File(path=path, filetype=FileType(filetype)).export_to_dataframe(normalize_config=None)
        mocked_smart_open.assert_called()
        kwargs = mocked_smart_open.call_args.kwargs
        args = mocked_smart_open.call_args.args
        if kwargs["transport_params"]:
            assert isinstance(kwargs["transport_params"]["client"], locations["instance"])
        assert path == args[0]
        mocked_read.assert_called()