public void testGetSendSyncModel() {

    SendSyncModel sendSyncModel = syncManager.getSendSyncModel();
    for (TransferChildTable transferChildTable : sendSyncModel.getTransferChildTableList()) {
      Boolean found = false;
      for (TransferChildTable expectedTranferChildTable :
          expectedSyncModel.getTransferChildTableList()) {
        if (CompareUtils.areTwoTransferChildTableTheSame(
            transferChildTable, expectedTranferChildTable)) found = true;
      }
      if (!found) {
        fail("Transfered childs are diffrent then expected");
      }
    }

    Boolean found = false;
    for (TransferTableFieldFilling transferTableFieldFilling :
        sendSyncModel.getTransferTableFieldFillingList()) {
      found = false;
      for (TransferTableFieldFilling expectedTranferFieldFilling :
          expectedSyncModel.getTransferTableFieldFillingList()) {
        if (CompareUtils.areTwoTransferFieldFillingsTheSame(
            transferTableFieldFilling, expectedTranferFieldFilling)) found = true;
      }
      if (!found) {
        fail("Transfered tableFieldFillinga are diffrent then expected");
      }
    }
    if (!found) {
      fail("Transfered tableFieldFillinga are diffrent then expected");
    }
  }
 private SendSyncModel setUpSyncModel(
     List<ChildTable> childTables, List<TableFieldFilling> tableFieldFillings) {
   SendSyncModel syncModel = new SendSyncModel();
   List<TransferChildTable> transferChildTableList = new ArrayList<>();
   List<TransferTableFieldFilling> transferTableFieldFillingList = new ArrayList<>();
   for (ChildTable childTable : childTables)
     transferChildTableList.add(TransferChildTable.transferObjectFromServerModel(childTable));
   for (TableFieldFilling tableFieldFilling : tableFieldFillings)
     transferTableFieldFillingList.add(
         TransferTableFieldFilling.transferObjectFromServerModel(tableFieldFilling));
   syncModel.setTransferChildTableList(transferChildTableList);
   syncModel.setTransferTableFieldFillingList(transferTableFieldFillingList);
   return syncModel;
 }