def METHOD_NAME(testapp, functional_characterization_experiment_disruption_screen, library_1, library_2, replicate_1_fce, replicate_2_fce):
    testapp.patch_json(replicate_1_fce['@id'], {'library': library_1['@id']})
    testapp.patch_json(replicate_2_fce['@id'], {'library': library_2['@id']})
    res = testapp.get(functional_characterization_experiment_disruption_screen['@id'] + '@@index-data') 
    assert res.json['object']['bio_replicate_count'] == 2 and res.json['object']['tech_replicate_count'] == 2