async def METHOD_NAME(
    mocker: MockerFixture,
    client: TestClient,
    user_id: UserID,
    project_id: ProjectID,
    location_id: int,
):
    mocked_object = mocker.patch(
        "simcore_service_storage.simcore_s3_dsm.SimcoreS3DataManager.list_files_in_dataset",
        autospec=True,
    )
    assert client.app
    url = (
        client.app.router["get_files_metadata_dataset"]
        .url_for(location_id=f"{location_id}", dataset_id=f"{project_id}")
        .with_query(user_id=user_id)
    )
    await client.get(f"{url}")
    assert len(mocked_object.call_args_list) == 1
    call_args_list = mocked_object.call_args_list[0]
    assert "expand_dirs" in call_args_list.kwargs
    assert call_args_list.kwargs["expand_dirs"] is True