public void ReadValidGenericRecordTests(ResourceId resource, ValidReadGenericRecord condition) { var requestDic = ValidReadGenericRecordRequest(resource, condition); PerformTests(requestDic, HttpMethod.Post); }
private static Dictionary <string, object> ValidReadGenericRecordRequest(ResourceId resource, ValidReadGenericRecord condition) { HrbcRecordCreator[] listRecords = new HrbcRecordCreator[] { FirstSystemRecord, SecondSystemRecord, FirstUserRecords, SecondUserRecords }; var requestDic = new Dictionary <string, object>() { ["resource"] = resource.GetHashCode(), }; ValidReadRecordMapper[condition](resource, listRecords, requestDic); ValidReadFieldsMapper[condition](resource, FieldCreator, requestDic); return(requestDic); }