105. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/2/2019 1:06:58 PM Central Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

105.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\ARS_Backend\ars_app\src\test\java\gov\va\med\ewv\util EwvNullsLastComparatorTest.java Wed Mar 27 19:21:17 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\ARS_Backend\ars_app\src\test\java\gov\va\med\ewv\util EwvNullsLastComparatorTest.java Fri Mar 29 17:48:04 2019 UTC

105.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 2 1918
Changed 1 2
Inserted 0 0
Removed 0 0

105.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

105.4 Active regular expressions

No regular expressions were active.

105.5 Comparison detail

  1   /**
  2    * This on ly impleme nts the si mplest tes ts with no Val, loVal  and hiVal .
  3    * No edge  cases are  explored.  
  4    */
  5   package go v.va.med.e wv.util;
  6  
  7   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.com pare;
  8   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvA mbulanceIn fo5010Comp arator;
  9   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvC laimOhisCo mparator;
  10   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvS erviceLine OhiAdjtmts Comparator ;
  11   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvS erviceLine OhisCompar ator;
  12   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvS erviceLine sComparato r;
  13   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvS erviceLine sDrugsComp arator;
  14   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvS lProviderC omparator;
  15   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvS vcLineDmeC omparator;
  16   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastEwvS vcLineTeet hComparato r;
  17   import sta tic gov.va .med.ewv.u til.EwvNul lsLastComp arator.nul lsLastServ iceLineCom parator;
  18   import sta tic org.ju nit.Assert .assertTru e;
  19  
  20   import jav a.math.Big Decimal;
  21   import jav a.util.Arr ayList;
  22   import jav a.util.Com parator;
  23   import jav a.util.Lis t;
  24   import jav a.util.fun ction.BiCo nsumer;
  25   import jav a.util.fun ction.Supp lier;
  26  
  27   import org .junit.Aft er;
  28   import org .junit.Aft erClass;
  29   import org .junit.Bef ore;
  30   import org .junit.Bef oreClass;
  31   import org .junit.Ign ore;
  32   import org .junit.Tes t;
  33  
  34   import gov .va.med.do main.ewv.E wvAmbulanc eInfo5010;
  35   import gov .va.med.do main.ewv.E wvClaimOhi s;
  36   import gov .va.med.do main.ewv.E wvServiceL ineOhiAdjt mts;
  37   import gov .va.med.do main.ewv.E wvServiceL ineOhis;
  38   import gov .va.med.do main.ewv.E wvServiceL ines;
  39   import gov .va.med.do main.ewv.E wvServiceL inesDrugs;
  40   import gov .va.med.do main.ewv.E wvSlProvid er;
  41   import gov .va.med.do main.ewv.E wvSvcLineD me;
  42   import gov .va.med.do main.ewv.E wvSvcLineT eeth;
  43  
  44   /**
  45    * @author   DNS     BadgeB
  46    *
  47    */
  48   final clas s TestCase <T, U> {
  49           pu blic BiCon sumer<T, U > setter;
  50           pu blic U u0;
  51           pu blic U u1;
  52           pu blic TestC ase(BiCons umer<T, U>  setter, U  u0, U u1)  
  53           {
  54                    supe r();
  55                    this .setter =  setter;
  56                    this .u0 = u0;
  57                    this .u1 = u1;
  58           }
  59   };
  60  
  61   public cla ss EwvNull sLastCompa ratorTest  {
  62           //  Check res ults of co mpare(a,b)
  63           st atic void  assertLT(i nt cmp) {  assertTrue (cmp < 0);  }  
  64           st atic void  assertEQ(i nt cmp) {  assertTrue (cmp == 0) ; }  
  65           st atic void  assertGT(i nt cmp) {  assertTrue (cmp > 0);  }  
  66  
  67           //  Supplier< ServiceLin e> newServ iceLine =  ServiceLin e::new;      // There  is no Ser viceLine()  here.
  68           pu blic stati c Supplier <ServiceLi ne> newSer viceLine =  () -> {
  69                    // S o, provide  default v alues for  all of the  members i n the expl icit const ructor
  70                    retu rn new Ser viceLine(
  71                             null,  // String   // String  dateOfSer vice,
  72                null, //  String  b eginDateOf Service,
  73                null, //  String  e ndDateOfSe rvice,
  74                null, //  String  r evCode,
  75                null, //  String  p rocedureCo de,
  76                null, //  String  n dcCode,
  77                null, //  String  m odifiers,
  78                null, //  String  q uantityOrT ype,
  79                null, //  String  q uantity,
  80                null, //  String  t ype,
  81                null, //  String  p rimaryPaye rPaidAmoun t,
  82                null, //  List<Serv iceLineOhi Adjustment > primaryO hiServiceL ineAdjustm ents,
  83                null, //  String  s econdaryPa yerPaidAmo unt,
  84                null, //  List<Serv iceLineOhi Adjustment > secondar yOhiServic eLineAdjus tments,
  85                null, //  String  s erviceTax,
  86                null, //  String  f acilityTax ,
  87                null, //  String  c harge,
  88                null, //  String  l ineNumber,
  89                null, //  List<Drug Line> list OfDrugLine s,
  90                null, //  List<Toot hLine> lis tOfTeeth,
  91                null, //  List<Medi calEquipme ntLine> li stOfEquipm ent,
  92                null, //  String  d xDtPointer s,
  93                null, //  String  s alesTax,
  94                null, //  String  o peratorPhy sicianNpi,
  95                null, //  String  o peratorPhy sicianName ,
  96                null, //  List<Prov ider> list OfProvider Info,
  97                null, //  String  p os,
  98                null) //  Ambulance Info servi ceLineLeve lAmbulance Info)
  99                                      ;
  100                    };
  101  
  102                    // S upplier<Se rviceLine>  newServic eLine = Se rviceLine: :new;      // There i s no Servi ceLine() h ere.
  103                    publ ic static  Supplier<S erviceLine > newServi ceLineDent al = () ->  {
  104                             // So,  provide d efault val ues for al l of the m embers in  the explic it constru ctor
  105                             return  new Servi ceLine(
  106                                      null, //  String  / / String d ateOfServi ce,
  107                         null, // S tring  beg inDateOfSe rvice,
  108                         null, // S tring  end DateOfServ ice,
  109                         null, // S tring  rev Code,
  110                         null, // S tring  pro cedureCode ,
  111                         null, // S tring  ndc Code,
  112                         null, // S tring  mod ifiers,
  113                         null, // S tring  qua ntityOrTyp e,
  114                         null, // S tring  qua ntity,
  115                         "DENTAL",  // String   type,
  116                         null, // S tring  pri maryPayerP aidAmount,
  117                         null, // L ist<Servic eLineOhiAd justment>  primaryOhi ServiceLin eAdjustmen ts,
  118                         null, // S tring  sec ondaryPaye rPaidAmoun t,
  119                         null, // L ist<Servic eLineOhiAd justment>  secondaryO hiServiceL ineAdjustm ents,
  120                         null, // S tring  ser viceTax,
  121                         null, // S tring  fac ilityTax,
  122                         null, // S tring  cha rge,
  123                         null, // S tring  lin eNumber,
  124                         null, // L ist<DrugLi ne> listOf DrugLines,
  125                         null, // L ist<ToothL ine> listO fTeeth,
  126                         null, // L ist<Medica lEquipment Line> list OfEquipmen t,
  127                         null, // S tring  dxD tPointers,
  128                         null, // S tring  sal esTax,
  129                         null, // S tring  ope ratorPhysi cianNpi,
  130                         null, // S tring  ope ratorPhysi cianName,
  131                         null, // L ist<Provid er> listOf ProviderIn fo,
  132                         null, // S tring  pos ,
  133                         null) // A mbulanceIn fo service LineLevelA mbulanceIn fo)
  134                                               ;
  135                             };
  136  
  137                    /**
  138            *  @throws j ava.lang.E xception
  139            * /
  140           @B eforeClass
  141           pu blic stati c void set UpBeforeCl ass() thro ws Excepti on {
  142           }
  143  
  144           /* *
  145            *  @throws j ava.lang.E xception
  146            * /
  147           @A fterClass
  148           pu blic stati c void tea rDownAfter Class() th rows Excep tion {
  149           }
  150  
  151           /* *
  152            *  @throws j ava.lang.E xception
  153            * /
  154           @B efore
  155           pu blic void  setUp() th rows Excep tion {
  156           }
  157  
  158           /* *
  159            *  @throws j ava.lang.E xception
  160            * /
  161           @A fter
  162           pu blic void  tearDown()  throws Ex ception {
  163           }
  164  
  165           pu blic stati c <T, U, V  > void te st_nullsLa st(
  166                             Suppli er<T> newT ,
  167                             TestCa se<T, U> t cU,
  168                             TestCa se<T, V> t cV,
  169                             Compar ator<T> vs )       //  We assume  vs and al l sub-comp arators ar e (in effe ct) wrappe d in Compa rator.null sLast()
  170                    // t hat is, we  compare(n ull, value ), etc. an d expect i t to _NOT_  throw a N ullPointer Exception
  171           {
  172                    test _nullsLast (newT, tcU .setter, t cU.u0, tcU .u1, tcV.s etter, tcV .u0, tcV.u 1, vs);
  173           }
  174           
  175           //  Test Comp arator()
  176           //  These dup licate the  compare()  tests, bu t bypass o verloading .
  177   //      pu blic stati c final Co mparator<S erviceLine > nullsLas tServiceLi neComparat or =
  178   //      pu blic stati c final Co mparator<E wvServiceL ines> null sLastEwvSe rviceLines Comparator  =
  179   //      pu blic stati c final Co mparator<E wvAmbulanc eInfo5010>  nullsLast EwvAmbulan ceInfo5010 Comparator  =
  180   //      pu blic stati c final Co mparator<E wvServiceL ineOhiAdjt mts> nulls LastEwvSer viceLineOh iAdjtmtsCo mparator =
  181   //      pu blic stati c final Co mparator<E wvServiceL ineOhis> n ullsLastEw vServiceLi neOhisComp arator =
  182   //      pu blic stati c final Co mparator<E wvServiceL inesDrugs>  nullsLast EwvService LinesDrugs Comparator  =
  183   //      pu blic stati c final Co mparator<E wvSlProvid er> nullsL astEwvSlPr oviderComp arator =
  184   //      pu blic stati c final Co mparator<E wvSvcLineD me> nullsL astEwvSvcL ineDmeComp arator =
  185   //      pu blic stati c final Co mparator<E wvSvcLineT eeth> null sLastEwvSv cLineTeeth Comparator  =
  186   //      pu blic stati c final Co mparator<E wvClaimOhi s> nullsLa stEwvClaim OhisCompar ator =
  187   //               publ ic static  final Comp arator<Cla imOhiHeade r> nullsLa stClaimOhi HeaderComp arator =
  188   //               publ ic static  final Comp arator<Cla imOhiConta iner> null sLastClaim OhiContain erComparat or =
  189  
  190   //      te st_nullsLa st tests t wo element s of the o bject bein g compared .
  191           //  If you ar e only goi ng to test  once, cho ose the mo st-signifi cant and l east-signi ficant val ues
  192           //  But you c an call mu ltiple tim es to test  over a ra nge of val ues.
  193           pu blic stati c <T, U, V  > void te st_nullsLa st_NONULL(
  194                             Suppli er<T> newT ,
  195                             BiCons umer<T, U>  setU,
  196                             U u0,    // More- significan t "low" va lue
  197                             U u1,    // More- significan t "high" v alue
  198                             BiCons umer<T, V>  setV,
  199                             V v0,    // less- significan t "low" va lue 
  200                             V v1,    // less- significan t "high" v alue
  201                             Compar ator<T> vs )       //  We assume  vs and al l sub-comp arators ar e (in effe ct) wrappe d in Compa rator.null sLast()
  202           {
  203   //               try  {
  204                             T val0 0 = newT.g et();
  205                             T val0 1 = newT.g et();
  206                             T val1 0 = newT.g et();
  207                             T val1 1 = newT.g et();
  208           
  209                             
  210           
  211                             
  212                             
  213                             setU.a ccept(val0 0, u0);
  214                             setV.a ccept(val0 0, v0);
  215           
  216                             setU.a ccept(val0 1, u0);
  217                             setV.a ccept(val0 1, v1);
  218           
  219                             setU.a ccept(val1 0, u1);
  220                             setV.a ccept(val1 0, v0);
  221           
  222                             setU.a ccept(val1 1, u1);
  223                             setV.a ccept(val1 1, v1);
  224           
  225           
  226           
  227           
  228           
  229           
  230                             // EQ
  231                             assert EQ(vs.comp are(val00,  val00));
  232                             assert EQ(vs.comp are(val01,  val01));
  233                             assert EQ(vs.comp are(val10,  val10));
  234                             assert EQ(vs.comp are(val11,  val11));
  235           
  236                             assert EQ(vs.comp are(val11,  val11));
  237           
  238                             // LT
  239                             assert LT(vs.comp are(val00,  val01));
  240                             assert LT(vs.comp are(val00,  val10));
  241                             assert LT(vs.comp are(val00,  val11));
  242                             assert LT(vs.comp are(val01,  val10));
  243                             assert LT(vs.comp are(val01,  val11));
  244                             assert LT(vs.comp are(val10,  val11));
  245           
  246           
  247           
  248                             // GT
  249                             assert GT(vs.comp are(val01,  val00));
  250                             assert GT(vs.comp are(val10,  val00));
  251                             assert GT(vs.comp are(val11,  val00));
  252                             assert GT(vs.comp are(val10,  val01));
  253                             assert GT(vs.comp are(val11,  val01));
  254                             assert GT(vs.comp are(val11,  val10));
  255           
  256   //               } ca tch (Excep tion ex) {
  257   //               }
  258   //               
  259           }
  260  
  261           
  262   //      te st_nullsLa st tests t wo element s of the o bject bein g compared .
  263           //  If you ar e only goi ng to test  once, cho ose the mo st-signifi cant and l east-signi ficant val ues
  264           //  But you c an call mu ltiple tim es to test  over a ra nge of val ues.
  265           pu blic stati c <T, U, V  > void te st_nullsLa st(
  266                             Suppli er<T> newT ,
  267                             BiCons umer<T, U>  setU,
  268                             U u0,    // More- significan t "low" va lue
  269                             U u1,    // More- significan t "high" v alue
  270                             BiCons umer<T, V>  setV,
  271                             V v0,    // less- significan t "low" va lue 
  272                             V v1,    // less- significan t "high" v alue
  273                             Compar ator<T> vs )       //  We assume  vs and al l sub-comp arators ar e (in effe ct) wrappe d in Compa rator.null sLast()
  274                    // t hat is, we  compare(n ull, value ), etc. an d expect i t to _NOT_  throw a N ullPointer Exception
  275           {
  276   //               try  {
  277                             T val0 0 = newT.g et();
  278                             T val0 1 = newT.g et();
  279                             T val1 0 = newT.g et();
  280                             T val1 1 = newT.g et();
  281           
  282                             T val_ _ = newT.g et();
  283                             T val_ 0 = newT.g et();
  284                             T val0 _ = newT.g et();
  285                             
  286                             T val_ 1 = newT.g et();
  287                             T val1 _ = newT.g et();
  288           
  289                             T _val _ = null;
  290                             
  291                             
  292                             setU.a ccept(val0 0, u0);
  293                             setV.a ccept(val0 0, v0);
  294           
  295                             setU.a ccept(val0 1, u0);
  296                             setV.a ccept(val0 1, v1);
  297           
  298                             setU.a ccept(val1 0, u1);
  299                             setV.a ccept(val1 0, v0);
  300           
  301                             setU.a ccept(val1 1, u1);
  302                             setV.a ccept(val1 1, v1);
  303           
  304                             setU.a ccept(val_ _, null);
  305                             setV.a ccept(val_ _, null);
  306           
  307                             setU.a ccept(val_ 1, null);
  308                             setV.a ccept(val_ 1, v1);
  309           
  310                             setU.a ccept(val1 _, u1);
  311                             setV.a ccept(val1 _, null);
  312           
  313                             setU.a ccept(val_ 0, null);
  314                             setV.a ccept(val_ 0, v0);
  315           
  316                             setU.a ccept(val0 _, u0);
  317                             setV.a ccept(val0 _, null);
  318           
  319                             // EQ
  320                             assert EQ(vs.comp are(val00,  val00));
  321                             assert EQ(vs.comp are(val01,  val01));
  322                             assert EQ(vs.comp are(val10,  val10));
  323                             assert EQ(vs.comp are(val11,  val11));
  324           
  325                             assert EQ(vs.comp are(val__,  val__));
  326                             assert EQ(vs.comp are(val_1,  val_1));
  327                             assert EQ(vs.comp are(val1_,  val1_));
  328                             assert EQ(vs.comp are(val11,  val11));
  329           
  330                             // LT
  331                             assert LT(vs.comp are(val00,  val01));
  332                             assert LT(vs.comp are(val00,  val10));
  333                             assert LT(vs.comp are(val00,  val11));
  334                             assert LT(vs.comp are(val01,  val10));
  335                             assert LT(vs.comp are(val01,  val11));
  336                             assert LT(vs.comp are(val10,  val11));
  337           
  338                             assert LT(vs.comp are(val_1,  val__));
  339                             assert LT(vs.comp are(val1_,  val__));
  340                             assert LT(vs.comp are(val11,  val__));
  341                             assert LT(vs.comp are(val1_,  val_1));
  342                             assert LT(vs.comp are(val11,  val_1));
  343                             assert LT(vs.comp are(val11,  val1_));
  344           
  345                             assert LT(vs.comp are(val_0,  val__));
  346                             assert LT(vs.comp are(val0_,  val__));
  347                             assert LT(vs.comp are(val00,  val__));
  348                             assert LT(vs.comp are(val0_,  val_0));
  349                             assert LT(vs.comp are(val00,  val_0));
  350                             assert LT(vs.comp are(val00,  val0_));
  351           
  352                             // GT
  353                             assert GT(vs.comp are(val01,  val00));
  354                             assert GT(vs.comp are(val10,  val00));
  355                             assert GT(vs.comp are(val11,  val00));
  356                             assert GT(vs.comp are(val10,  val01));
  357                             assert GT(vs.comp are(val11,  val01));
  358                             assert GT(vs.comp are(val11,  val10));
  359           
  360                             assert GT(vs.comp are(val__,  val_1));
  361                             assert GT(vs.comp are(val__,  val1_));
  362                             assert GT(vs.comp are(val__,  val11));
  363                             assert GT(vs.comp are(val_1,  val1_));
  364                             assert GT(vs.comp are(val_1,  val11));
  365                             assert GT(vs.comp are(val1_,  val11));
  366           
  367                             assert GT(vs.comp are(val__,  val_0));
  368                             assert GT(vs.comp are(val__,  val0_));
  369                             assert GT(vs.comp are(val__,  val00));
  370                             assert GT(vs.comp are(val_0,  val0_));
  371                             assert GT(vs.comp are(val_0,  val00));
  372                             assert GT(vs.comp are(val0_,  val00));
  373           
  374                             // _va l_ (null)
  375                             assert EQ(vs.comp are(_val_,  _val_));
  376                             
  377                             assert LT(vs.comp are(val00,  _val_));
  378                             assert LT(vs.comp are(val01,  _val_));
  379                             assert LT(vs.comp are(val10,  _val_));
  380                             assert LT(vs.comp are(val11,  _val_));
  381                    
  382                             assert LT(vs.comp are(val__,  _val_));
  383                             assert LT(vs.comp are(val_1,  _val_));
  384                             assert LT(vs.comp are(val1_,  _val_));
  385           //                assert LT(vs.comp are(val11,  _val_));      // dup
  386                    
  387                             assert GT(vs.comp are(_val_,  val00));
  388                             assert GT(vs.comp are(_val_,  val01));
  389                             assert GT(vs.comp are(_val_,  val10));
  390                             assert GT(vs.comp are(_val_,  val11));
  391           
  392                             assert GT(vs.comp are(_val_,  val__));
  393                             assert GT(vs.comp are(_val_,  val_1));
  394                             assert GT(vs.comp are(_val_,  val1_));
  395           //                assert GT(vs.comp are(_val_,  val11));      // dup
  396   //               } ca tch (Excep tion ex) {
  397   //                        fail(" test_nulls Last faile d with exc eption: "  + ex.getMe ssage());
  398   //               }
  399   //               
  400           }
  401  
  402           /* *
  403            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  404            * /
  405           @I gnore
  406           @T est
  407           pu blic void  test_nulls LastServic eLineCompa rator() {
  408                    
  409                    // t est_nullsL astService LineCompar ator is sp ecial! 
  410                    // F or "DENTAL ", it uses  getDateOf Service()  instead.
  411                    // t est 1, 2
  412                    test _nullsLast (
  413                                      newServi ceLineDent al,   // S PECIAL
  414                                      ServiceL ine::setDa teOfServic e,
  415                                      "10/25/1 018",   //  lo date s tring
  416                                      "01/01/2 018",   //  hi date s tring
  417                                      ServiceL ine::setPr ocedureCod e,
  418                                      "", "]]] ",
  419                                      nullsLas tServiceLi neComparat or);
  420                    
  421                    // t est 1, 3
  422                    test _nullsLast (
  423                                      newServi ceLineDent al,   // S PECIAL
  424                                      ServiceL ine::setDa teOfServic e,
  425                                      "10/25/1 018",   //  lo date s tring
  426                                      "01/01/2 018",   //  hi date s tring
  427                                      ServiceL ine::setLi neNumber,
  428                                      "0", "23 ",      //  Line Numb er strings
  429                                      nullsLas tServiceLi neComparat or);
  430                    
  431                    // t est 2, 3
  432                    test _nullsLast (
  433                                      newServi ceLineDent al,   // S PECIAL
  434                                      ServiceL ine::setPr ocedureCod e,
  435                                      "", "]]] ",      //  fake stri ngs
  436                                      ServiceL ine::setLi neNumber,
  437                                      "0", "23 ",      //  Line Numb er strings
  438                                      nullsLas tServiceLi neComparat or);
  439                    
  440  
  441                    // t est 1, 2
  442                             test_n ullsLast(
  443                                               newService Line, //   ServiceLin e::new, //  nope! not  implement ed
  444                                               ServiceLin e::setBegi nDateOfSer vice,
  445                                               "10/25/101 8",   // l o date str ing
  446                                               "01/01/201 8",   // h i date str ing
  447                                               ServiceLin e::setProc edureCode,
  448                                               "", "]]]",
  449                                               nullsLastS erviceLine Comparator );
  450                             
  451                             // tes t 1, 3
  452                             test_n ullsLast(
  453                                               newService Line, //   ServiceLin e::new, //  nope! not  implement ed
  454                                               ServiceLin e::setBegi nDateOfSer vice,
  455                                               "10/25/101 8",   // l o date str ing
  456                                               "01/01/201 8",   // h i date str ing
  457                                               ServiceLin e::setLine Number,
  458                                               "0", "23",       // L ine Number  strings
  459                                               nullsLastS erviceLine Comparator );
  460                             
  461                             // tes t 2, 3
  462                             test_n ullsLast(
  463                                               newService Line, //   ServiceLin e::new, //  nope! not  implement ed
  464                                               ServiceLin e::setProc edureCode,
  465                                               "", "]]]",       // f ake string s
  466                                               ServiceLin e::setLine Number,
  467                                               "0", "23",       // L ine Number  strings
  468                                               nullsLastS erviceLine Comparator );
  469                             
  470           }
  471  
  472           @I gnore
  473           @T est
  474           pu blic void  testNullsL astService LineCompar ator() {
  475                    test _nullsLast (
  476                                      newServi ceLine, //   ServiceL ine::new,  // nope! n ot impleme nted
  477                                      ServiceL ine::setBe ginDateOfS ervice,
  478                                      "10/25/1 018",   //  lo date s tring
  479                                      "01/01/2 018",   //  hi date s tring
  480                                      ServiceL ine::setPr ocedureCod e,
  481                                      "", "]]] ",
  482                                      EwvNulls LastCompar ator::comp are);
  483                    // B ecause we  "know" tha t EwvNulls LastCompar ator::comp are is imp lemented a s a call t o nullsLas tServiceLi neComparat or.compare ()
  484                    // W e will rel y on test_ nullsLastS erviceLine Comparator () to be m ore comple te.
  485                    // H ere we're  just testi ng the con nection, t hat is, th e overload ing.
  486                    // S o do not t est all th e combinat ions.
  487           }
  488  
  489           /* *
  490            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.doma in.ewv.Ewv ServiceLin es, gov.va .med.domai n.ewv.EwvS erviceLine s)}.
  491            * /
  492           @I gnore
  493           @T est
  494           pu blic void  test_nulls LastEwvSer viceLinesC omparator( ) {
  495  
  496                    test _nullsLast (EwvServic eLines::ne w,
  497                                      EwvServi ceLines::s etBeginDat eOfService ,
  498                                      "10/25/1 018",   //  lo date s tring
  499                                      "01/01/2 018",   //  hi date s tring
  500                                      EwvServi ceLines::s etProcedur eCode,
  501                                      "", "]]] ",
  502                                      nullsLas tEwvServic eLinesComp arator);
  503                    // N ULLS are c onfused be cause test _nullsLast  expects a ll values  to be LT(u 1, null)
  504                    test _nullsLast _NONULL(Ew vServiceLi nes::new,
  505                                      EwvServi ceLines::s etBeginDat eOfService ,
  506                                      "10/25/1 018",   //  lo date s tring
  507                                      "xx ERRO R xx",  //  hi date s tring, sho uld act li ke a NULL
  508                                      EwvServi ceLines::s etProcedur eCode,
  509                                      "", "]]] ",
  510                                      nullsLas tEwvServic eLinesComp arator);
  511                    
  512   // FAIL be cause of N PE in EwvS erviceLine s::setLine Number.acc ept(null)
  513   //               test _nullsLast (EwvServic eLines::ne w,
  514   //                                 EwvServi ceLines::s etBeginDat eOfService ,
  515   //                                 "10/25/1 018",   //  lo date s tring
  516   //                                 "01/01/2 018",   //  hi date s tring
  517   //                                 EwvServi ceLines::s etLineNumb er,
  518   //                                 0L, 23L,
  519   //                                 nullsLas tEwvServic eLinesComp arator);
  520   //               test _nullsLast (EwvServic eLines::ne w,
  521   //                                 EwvServi ceLines::s etProcedur eCode,
  522   //                                 "", "]]] ",
  523   //                                 EwvServi ceLines::s etLineNumb er,
  524   //                                 0L, 23L,
  525   //                                 nullsLas tEwvServic eLinesComp arator);
  526   //
  527                    
  528                    // A void passi ng null to  EwvServic eLines::se tLineNumbe r
  529  
  530                    test _nullsLast _NONULL(Ew vServiceLi nes::new,
  531                    EwvS erviceLine s::setBegi nDateOfSer vice,
  532                    "10/ 25/1018",    // lo da te string
  533                    "01/ 01/2018",    // hi da te string
  534                    EwvS erviceLine s::setLine Number,
  535                    0L,  23L,
  536                    null sLastEwvSe rviceLines Comparator );
  537  
  538                    test _nullsLast _NONULL(Ew vServiceLi nes::new,
  539                    EwvS erviceLine s::setProc edureCode,
  540                    "",  "]]]",
  541                    EwvS erviceLine s::setLine Number,
  542                    0L,  23L,
  543                    null sLastEwvSe rviceLines Comparator );
  544  
  545   }
  546  
  547           /* *
  548            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.doma in.ewv.Ewv ServiceLin es, gov.va .med.domai n.ewv.EwvS erviceLine s)}.
  549            * /
  550           @I gnore
  551           @T est
  552           pu blic void  testNullsL astEwvServ iceLinesCo mparator()  {
  553                    test _nullsLast (EwvServic eLines::ne w,
  554                                      EwvServi ceLines::s etBeginDat eOfService ,
  555                                      "10/25/1 018",   //  lo date s tring
  556                                      "01/01/2 018",   //  hi date s tring
  557                                      EwvServi ceLines::s etProcedur eCode,
  558                                      "", "]]] ",
  559                                      EwvNulls LastCompar ator::comp are);
  560           }
  561  
  562           /* *
  563            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.EwvAm bulanceInf o5010, gov .va.med.ew v.util.Ewv AmbulanceI nfo5010)}.
  564            * /
  565           @T est
  566           pu blic void  test_nulls LastEwvAmb ulanceInfo 5010Compar ator() {
  567                    EwvA mbulanceIn fo5010 loV al = new E wvAmbulanc eInfo5010( );
  568                    EwvA mbulanceIn fo5010 hiV al = new E wvAmbulanc eInfo5010( );
  569                    EwvA mbulanceIn fo5010 __V al = new E wvAmbulanc eInfo5010( );
  570                    EwvA mbulanceIn fo5010 noV al = null;
  571                    loVa l.setPicku pAddressLi ne1("");
  572                    loVa l.setPicku pAddressLi ne2("");
  573                    
  574                    hiVa l.setPicku pAddressLi ne1("}}}") ;
  575                    hiVa l.setPicku pAddressLi ne2("}}}") ;
  576  
  577                    __Va l.setPicku pAddressLi ne1(null);
  578                    __Va l.setPicku pAddressLi ne2(null);
  579  
  580                    // S ome hand-m ade compar es
  581                    asse rtEQ(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(loVal,  loVal));
  582                    asse rtEQ(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(hiVal,  hiVal));
  583                    asse rtLT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(loVal,  hiVal));
  584                    asse rtGT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(hiVal,  loVal));
  585  
  586                    asse rtEQ(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(noVal,  noVal));
  587                    asse rtLT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(loVal,  noVal));
  588                    asse rtLT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(hiVal,  noVal));
  589                    asse rtGT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(noVal,  loVal));
  590                    asse rtGT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(noVal,  hiVal));
  591  
  592                    asse rtEQ(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(__Val,  __Val));
  593                    asse rtLT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(loVal,  __Val));
  594                    asse rtLT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(hiVal,  __Val));
  595                    asse rtGT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(__Val,  loVal));
  596                    asse rtGT(nulls LastEwvAmb ulanceInfo 5010Compar ator.compa re(__Val,  hiVal));
  597  
  598                    test _nullsLast (EwvAmbula nceInfo501 0::new,        // coo l!
  599                                      EwvAmbul anceInfo50 10::setPic kupAddress Line1,
  600                                      "", "}}} ",
  601                                      EwvAmbul anceInfo50 10::setPic kupAddress Line2,
  602                                      "", "]]] ",
  603                                      nullsLas tEwvAmbula nceInfo501 0Comparato r);
  604  
  605                    // C an also be  done with  a Lambda  function
  606                    test _nullsLast (() -> {re turn new E wvAmbulanc eInfo5010( );},
  607                                      EwvAmbul anceInfo50 10::setPic kupAddress Line1,
  608                                      "", "}}} ",
  609                                      EwvAmbul anceInfo50 10::setPic kupAddress Line2,
  610                                      "", "]]] ",
  611                                      nullsLas tEwvAmbula nceInfo501 0Comparato r);
  612  
  613   //               test erList.add (new TestC ase<>());
  614                    BiCo nsumer<Ewv AmbulanceI nfo5010, B igDecimal>  setBD = E wvAmbulanc eInfo5010: :setGuid;
  615                    BigD ecimal u1B D = new Bi gDecimal(1 .0);
  616                    BigD ecimal u2B D = new Bi gDecimal(6 .0e6);
  617                    Test Case<EwvAm bulanceInf o5010, Big Decimal> t estBD = ne w TestCase <>(setBD,  u1BD, u2BD );
  618                    Test Case<EwvAm bulanceInf o5010, Big Decimal> t estBD2 = n ew TestCas e<>(EwvAmb ulanceInfo 5010::setG uid, new B igDecimal( 1.0), new  BigDecimal (6.0e6));
  619  
  620                    List <TestCase< EwvAmbulan ceInfo5010 , String>>  testerLis t = new Ar rayList<Te stCase<Ewv AmbulanceI nfo5010, S tring>>(0) ;
  621                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tPickupAdd ressLine1,  "", "zzz" ));
  622                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tPickupAdd ressLine2,  "", "zzz" ));
  623                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tPickupCit y, "", "zz z"));
  624                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tPickupSta te, "", "z zz"));
  625                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tPickupZip , "", "zzz "));
  626                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tDropoffAd dressLine1 , "", "zzz "));
  627                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tDropoffAd dressLine2 , "", "zzz "));
  628                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tDropoffCi ty, "", "z zz"));
  629                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tDropoffSt ate, "", " zzz"));
  630                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tDropoffZi p, "", "zz z"));
  631                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tTransport ReasonCode , "", "zzz "));
  632                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tTransport Distance,  "", "zzz") );
  633                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tRoundTrip Purpose, " ", "zzz")) ;
  634                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tStretcher Purpose, " ", "zzz")) ;
  635                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCertIndic ator1, "",  "zzz"));
  636                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code11, "" , "zzz"));
  637                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code12, "" , "zzz"));
  638                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code13, "" , "zzz"));
  639                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code14, "" , "zzz"));
  640                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code15, "" , "zzz"));
  641                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCertIndic ator2, "",  "zzz"));
  642                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code21, "" , "zzz"));
  643                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code22, "" , "zzz"));
  644                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code23, "" , "zzz"));
  645                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code24, "" , "zzz"));
  646                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code25, "" , "zzz"));
  647                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCertIndic ator3, "",  "zzz"));
  648                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code31, "" , "zzz"));
  649                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code32, "" , "zzz"));
  650                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code33, "" , "zzz"));
  651                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code34, "" , "zzz"));
  652                    test erList.add (new TestC ase<>(EwvA mbulanceIn fo5010::se tCondition Code35, "" , "zzz"));
  653  
  654                    for  (int i = 0 ; i < test erList.siz e(); ++i)  {
  655                             TestCa se<EwvAmbu lanceInfo5 010, Strin g> testCas eI = teste rList.get( i);
  656                             for (i nt j = i+1 ; j < test erList.siz e(); ++j)  {
  657                                      TestCase <EwvAmbula nceInfo501 0, String>  testCaseJ  = testerL ist.get(j) ;
  658                                      test_nul lsLast(Ewv AmbulanceI nfo5010::n ew,
  659                                                       te stCaseI,
  660                                                       te stCaseJ,
  661                                                       nu llsLastEwv AmbulanceI nfo5010Com parator);
  662                             }
  663                             // The  last one  is differe nt!
  664                             test_n ullsLast(E wvAmbulanc eInfo5010: :new,
  665                                               testCaseI,
  666                                               testBD,
  667                                               nullsLastE wvAmbulanc eInfo5010C omparator) ;
  668                    }
  669  
  670           }
  671  
  672           /* *
  673            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.EwvAm bulanceInf o5010, gov .va.med.ew v.util.Ewv AmbulanceI nfo5010)}.
  674            * /
  675           @T est
  676           pu blic void  testNullsL astEwvAmbu lanceInfo5 010Compara tor() {
  677                    EwvA mbulanceIn fo5010 loV al = new E wvAmbulanc eInfo5010( );
  678                    EwvA mbulanceIn fo5010 hiV al = new E wvAmbulanc eInfo5010( );
  679                    EwvA mbulanceIn fo5010 __V al = new E wvAmbulanc eInfo5010( );
  680                    EwvA mbulanceIn fo5010 noV al = null;
  681                    // T he MS part  is low, b ut the LS  part is hi gh
  682                    loVa l.setPicku pAddressLi ne1("");
  683                    loVa l.setPicku pAddressLi ne2("}}}") ;
  684                    
  685                    // T he MS part  is high,  but the LS  part is l ow
  686                    hiVa l.setPicku pAddressLi ne1("}}}") ;
  687                    hiVa l.setPicku pAddressLi ne2("");
  688  
  689                    __Va l.setPicku pAddressLi ne1(null);
  690                    __Va l.setPicku pAddressLi ne2(null);
  691  
  692                    // S ome hand-m ade compar es
  693                    asse rtEQ(compa re(loVal,  loVal));
  694                    asse rtEQ(compa re(hiVal,  hiVal));
  695                    asse rtLT(compa re(loVal,  hiVal));
  696                    asse rtGT(compa re(hiVal,  loVal));
  697  
  698                    asse rtEQ(compa re(noVal,  noVal));
  699                    asse rtLT(compa re(loVal,  noVal));
  700                    asse rtLT(compa re(hiVal,  noVal));
  701                    asse rtGT(compa re(noVal,  loVal));
  702                    asse rtGT(compa re(noVal,  hiVal));
  703  
  704                    asse rtEQ(compa re(__Val,  __Val));
  705                    asse rtLT(compa re(loVal,  __Val));
  706                    asse rtLT(compa re(hiVal,  __Val));
  707                    asse rtGT(compa re(__Val,  loVal));
  708                    asse rtGT(compa re(__Val,  hiVal));
  709  
  710                    test _nullsLast (EwvAmbula nceInfo501 0::new,        // coo l!
  711                                      EwvAmbul anceInfo50 10::setPic kupAddress Line1,
  712                                      "", "}}} ",
  713                                      EwvAmbul anceInfo50 10::setPic kupAddress Line2,
  714                                      "", "]]] ",
  715                                      EwvNulls LastCompar ator::comp are);
  716  
  717                    // C an also be  done with  a Lambda  function
  718                    test _nullsLast (() -> {re turn new E wvAmbulanc eInfo5010( );},
  719                                      EwvAmbul anceInfo50 10::setPic kupAddress Line1,
  720                                      "", "}}} ",
  721                                      EwvAmbul anceInfo50 10::setPic kupAddress Line2,
  722                                      "", "]]] ",
  723                                      EwvNulls LastCompar ator::comp are);
  724  
  725           }
  726  
  727  
  728           /* *
  729            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  730            * /
  731           @T est
  732           pu blic void  test_nulls LastEwvSer viceLineOh iAdjtmtsCo mparator()  {
  733                    test _nullsLast (EwvServic eLineOhiAd jtmts::new ,   // coo l!
  734                                      EwvServi ceLineOhiA djtmts::se tPrimaryPa yerId,
  735                                      "", "}}} ",
  736                                      EwvServi ceLineOhiA djtmts::se tSvcLineAd justmtReas onCode,
  737                                      "", "]]] ",
  738                                      nullsLas tEwvServic eLineOhiAd jtmtsCompa rator);
  739           }
  740  
  741  
  742  
  743           /* *
  744            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  745            * /
  746           @T est
  747           pu blic void  testNullsL astEwvServ iceLineOhi AdjtmtsCom parator()  {
  748                    test _nullsLast (EwvServic eLineOhiAd jtmts::new ,   // coo l!
  749                                      EwvServi ceLineOhiA djtmts::se tPrimaryPa yerId,
  750                                      "", "}}} ",
  751                                      EwvServi ceLineOhiA djtmts::se tSvcLineAd justmtReas onCode,
  752                                      "", "]]] ",
  753                                      EwvNulls LastCompar ator::comp are);
  754           }
  755  
  756  
  757           /* *
  758            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  759            * /
  760           @T est
  761           pu blic void  test_nulls LastEwvSer viceLineOh isComparat or() {
  762                    test _nullsLast (EwvServic eLineOhis: :new,
  763                                      EwvServi ceLineOhis ::setOhiAd judicatedD ate,
  764                                      "10/25/1 018",   //  lo date s tring
  765                                      "01/01/2 018",   //  hi date s tring
  766                                      EwvServi ceLineOhis ::setProce dureCode,
  767                                      "", "]]] ",
  768                                      nullsLas tEwvServic eLineOhisC omparator) ;
  769  
  770           }
  771  
  772  
  773           /* *
  774            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  775            * /
  776           @T est
  777           pu blic void  testNullsL astEwvServ iceLineOhi sComparato r() {
  778                    test _nullsLast (EwvServic eLineOhis: :new,
  779                                      EwvServi ceLineOhis ::setOhiAd judicatedD ate,
  780                                      "10/25/1 018",   //  lo date s tring
  781                                      "01/01/2 018",   //  hi date s tring
  782                                      EwvServi ceLineOhis ::setProce dureCode,
  783                                      "", "]]] ",
  784                                      EwvNulls LastCompar ator::comp are);
  785  
  786           }
  787  
  788  
  789           /* *
  790            *  Test meth od for {nu llsLastEwv ServiceLin eOhisCompa ratorlink  gov.va.med .ewv.util. EwvNullsLa stComparat or#compare (gov.va.me d.ewv.util .ServiceLi ne, gov.va .med.ewv.u til.Servic eLine)}.
  791            * /
  792           pu blic void  test_nulls LastEwvSer viceLinesD rugsCompar ator() {
  793                    test _nullsLast (EwvServic eLinesDrug s::new,
  794                                      EwvServi ceLinesDru gs::setDru gRx,
  795                                      "", "}}} ",
  796                                      EwvServi ceLinesDru gs::setDru gRxNdcCode ,
  797                                      "", "]]] ",
  798                                      nullsLas tEwvServic eLinesDrug sComparato r);
  799  
  800           }
  801  
  802  
  803           /* *
  804            *  Test meth od for {nu llsLastEwv ServiceLin eOhisCompa ratorlink  gov.va.med .ewv.util. EwvNullsLa stComparat or#compare (gov.va.me d.ewv.util .ServiceLi ne, gov.va .med.ewv.u til.Servic eLine)}.
  805            * /
  806           pu blic void  testNullsL astEwvServ iceLinesDr ugsCompara tor() {
  807                    test _nullsLast (EwvServic eLinesDrug s::new,
  808                                      EwvServi ceLinesDru gs::setDru gRx,
  809                                      "", "}}} ",
  810                                      EwvServi ceLinesDru gs::setDru gRxNdcCode ,
  811                                      "", "]]] ",
  812                                      EwvNulls LastCompar ator::comp are);
  813  
  814           }
  815  
  816  
  817           /* *
  818            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  819            * /
  820           @T est
  821           pu blic void  test_nulls LastEwvSlP roviderCom parator()  {
  822                    test _nullsLast (EwvSlProv ider::new,
  823                                      EwvSlPro vider::set ProviderTy pe,
  824                                      "", "}}} ",
  825                                      EwvSlPro vider::set ProviderId ,
  826                                      "", "]]] ",
  827                                      nullsLas tEwvSlProv iderCompar ator);
  828           }
  829  
  830  
  831           /* *
  832            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  833            * /
  834           @T est
  835           pu blic void  testNullsL astEwvSlPr oviderComp arator() {
  836                    test _nullsLast (EwvSlProv ider::new,
  837                                      EwvSlPro vider::set ProviderTy pe,
  838                                      "", "}}} ",
  839                                      EwvSlPro vider::set ProviderId ,
  840                                      "", "]]] ",
  841                                      EwvNulls LastCompar ator::comp are);
  842           }
  843  
  844  
  845           /* *
  846            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  847            * /
  848           @T est
  849           pu blic void  test_nulls LastEwvSvc LineDmeCom parator()  {
  850                    test _nullsLast (EwvSvcLin eDme::new,
  851                                      EwvSvcLi neDme::set DmeLengthM edicalNece ssity,
  852                                      "", "}}} ",
  853                                      EwvSvcLi neDme::set DmeFrequen cy,
  854                                      "", "]]] ",
  855                                      nullsLas tEwvSvcLin eDmeCompar ator);
  856           }
  857  
  858  
  859           /* *
  860            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  861            * /
  862           @T est
  863           pu blic void  testNullsL astEwvSvcL ineDmeComp arator() {
  864                    test _nullsLast (EwvSvcLin eDme::new,
  865                                      EwvSvcLi neDme::set DmeLengthM edicalNece ssity,
  866                                      "", "}}} ",
  867                                      EwvSvcLi neDme::set DmeFrequen cy,
  868                                      "", "]]] ",
  869                                      EwvNulls LastCompar ator::comp are);
  870           }
  871  
  872  
  873           /* *
  874            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  875            * /
  876           @T est
  877           pu blic void  test_nulls LastEwvSvc LineTeethC omparator( ) {
  878                    test _nullsLast (EwvSvcLin eTeeth::ne w,
  879                                      EwvSvcLi neTeeth::s etToothNum ber,
  880                                      "", "}}} ",
  881                                      EwvSvcLi neTeeth::s etSurface1 ,
  882                                      "", "]]] ",
  883                                      nullsLas tEwvSvcLin eTeethComp arator);
  884           }
  885  
  886  
  887           /* *
  888            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  889            * /
  890           @T est
  891           pu blic void  testNullsL astEwvSvcL ineTeethCo mparator()  {
  892                    test _nullsLast (EwvSvcLin eTeeth::ne w,
  893                                      EwvSvcLi neTeeth::s etToothNum ber,
  894                                      "", "}}} ",
  895                                      EwvSvcLi neTeeth::s etSurface1 ,
  896                                      "", "]]] ",
  897                                      nullsLas tEwvSvcLin eTeethComp arator);
  898           }
  899  
  900  
  901           /* *
  902            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  903            * /
  904           @T est
  905           pu blic void  test_nulls LastEwvCla imOhisComp arator() {
  906                    test _nullsLast (EwvClaimO his::new,
  907                                      EwvClaim Ohis::setP aymentSequ enceIndica tor, 
  908                                      "", "}}} ",
  909                                      EwvClaim Ohis::setC laimAdjust mentDate,
  910                                      "10/25/1 018",   //  lo date s tring
  911                                      "01/01/2 018",   //  hi date s tring
  912                                      nullsLas tEwvClaimO hisCompara tor);
  913  
  914           }
  915  
  916  
  917           /* *
  918            *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  919            * /
  920           @T est
  921           pu blic void  testNullsL astEwvClai mOhisCompa rator() {
  922                    test _nullsLast (EwvClaimO his::new,
  923                                      EwvClaim Ohis::setP aymentSequ enceIndica tor, 
  924                                      "", "}}} ",
  925                                      EwvClaim Ohis::setC laimAdjust mentDate,
  926                                      "10/25/1 018",   //  lo date s tring
  927                                      "01/01/2 018",   //  hi date s tring
  928                                      EwvNulls LastCompar ator::comp are);
  929           }
  930  
  931   //      /* *
  932   //       *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  933   //       * /
  934   //      @T est
  935   //      pu blic void  test_nulls LastClaimO hiHeaderCo mparator()  {
  936   //               test _nullsLast (ClaimOhiH eader::new ,
  937   //                        ClaimO hiHeader:: setPayment SequenceIn dicator,
  938   //                                 "", "}}} ",
  939   //                                 ClaimOhi Header::se tOhiGroupN ame,
  940   //                                 "", "]]] ",
  941   //                                 nullsLas tClaimOhiH eaderCompa rator);
  942   //      }
  943  
  944  
  945           //  There is  no applica ble set2 
  946   //      /* *
  947   //       *  Test meth od for {@l ink gov.va .med.ewv.u til.EwvNul lsLastComp arator#com pare(gov.v a.med.ewv. util.Servi ceLine, go v.va.med.e wv.util.Se rviceLine) }.
  948   //       * /
  949   //      @T est
  950   //      pu blic void  test_nulls LastClaimO hiContaine rComparato r() {
  951   //               test _nullsLast (ClaimOhiC ontainer:: new,
  952   //                                 ClaimOhi Container: :getClaimO hiHeaderBe an,
  953   //                                 "", "}}} ",
  954   //                                 ClaimOhi Container: :set2,
  955   //                                 "", "]]] ",
  956   //                                 nullsLas tClaimOhiC ontainerCo mparator);
  957   //
  958   //      }
  959  
  960   }