def METHOD_NAME(app, users, auth_headers_for_superuser, create_deposit):
    owner = users['cms_user']
    deposit = create_deposit(owner, 'test-analysis-v0.0.1')
    pid = deposit['_deposit']['id']
    deposit.files['adl.txt'] = BytesIO(b'hello world!')
    wrong_file = 'adl.txt'
    with app.test_client() as client:
        resp = client.get('services/adl/{}/{}'.format(pid, wrong_file), headers=auth_headers_for_superuser)
        assert resp.status_code == 400
        assert resp.json['message'] == 'You tried to provide a non-existing/wrong adl file.'