14105. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 1/4/2018 4:54:42 PM Eastern Standard 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.

14105.1 Files compared

# Location File Last Modified
1 CHAMPVA_Benefit_Eligibility_v1.0.0.zip\webservice\vlh\src\test\java\gov\va\med\mbac\vlh\impl MockitoFactoryBean.java Thu Dec 21 19:52:28 2017 UTC
2 CHAMPVA_Benefit_Eligibility_v1.0.0.zip\webservice\vlh\src\test\java\gov\va\med\mbac\vlh\impl MockitoFactoryBean.java Thu Jan 4 21:05:29 2018 UTC

14105.2 Comparison summary

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

14105.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

14105.4 Active regular expressions

No regular expressions were active.

14105.5 Comparison detail

  1   /**
  2    * The pac kage gov.v a.med.mbac .vlh.impl  contains t he VistaLi nkHelper C lass,
  3    * which i mplements  the IVista LinkHelper  interface .
  4    * 
  5    * Includi ng the uni t tests in  the same  package as  the class es under t est allows  test case s access t o
  6    * friendl y and prot ected memb ers, witho ut breakin g encapsul ation.
  7    * 
  8    */
  9   package go v.va.med.m bac.vlh.im pl;
  10  
  11   import org .mockito.M ockito;
  12   import org .springfra mework.bea ns.factory .FactoryBe an;
  13  
  14   /**
  15    * This is  the Mocki toFactoryB ean class,  which gen erates moc k objects  in the
  16    * VistaLi nkHelperTe st Spring  context (s ee vlhTest Beans.xml  & vlhTestB eansNoReq. xml).
  17    * 
  18    * @author   PII
  19    * @versio n 1.0.0
  20    */
  21   public cla ss Mockito FactoryBea n<T> imple ments Fact oryBean<T>  {
  22  
  23           pr ivate Clas s<T> class ToBeMocked ;
  24           
  25           /* *
  26            *  Creates a  Mockito m ock instan ce of the  provided c lass.
  27            *  
  28            *  @param cl assToBeMoc ked
  29            * /
  30           pu blic Mocki toFactoryB ean(Class< T> classTo BeMocked)  {
  31                    supe r();
  32                    this .classToBe Mocked = c lassToBeMo cked;
  33           }
  34  
  35           /*  (non-Java doc)
  36            *  @see org. springfram ework.bean s.factory. FactoryBea n#getObjec t()
  37            * /
  38           @O verride
  39           pu blic T get Object() t hrows Exce ption {
  40                    retu rn Mockito .mock(clas sToBeMocke d);
  41           }
  42  
  43           /*  (non-Java doc)
  44            *  @see org. springfram ework.bean s.factory. FactoryBea n#getObjec tType()
  45            * /
  46           @O verride
  47           pu blic Class <?> getObj ectType()  {
  48                    retu rn classTo BeMocked;
  49           }
  50  
  51           /*  (non-Java doc)
  52            *  @see org. springfram ework.bean s.factory. FactoryBea n#isSingle ton()
  53            * /
  54           @O verride
  55           pu blic boole an isSingl eton() {
  56                    retu rn true;
  57           }
  58  
  59   }