def METHOD_NAME(client, monkeypatch, elasticsearch_award_index, subaward_with_tas):
    _setup_es(client, monkeypatch, elasticsearch_award_index)
    resp = query_by_tas_subaward(client, {"require": [_agency_path(BASIC_TAS)]})
    assert resp.json()["results"] == [_subaward1()]