Produced by Araxis Merge on 6/9/2017 3:51:15 PM Eastern 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | Fri Jun 9 19:51:15 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-server\src\test\java\gov\va\nvap\server\test\service\facility | MockFacilityService.java | Fri Apr 21 20:03:30 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 73 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | package go v.va.nvap. server.tes t.service. facility; | |||||
| 2 | ||||||
| 3 | import gov .va.nvap.s vc.facilit y.intf.Ent ityDoesNot ExistExcep tion; | |||||
| 4 | import gov .va.nvap.s vc.facilit y.intf.Fac ilityServi ce; | |||||
| 5 | ||||||
| 6 | import gov .va.nvap.s vc.facilit y.data.Fac ility; | |||||
| 7 | import gov .va.nvap.s vc.facilit y.data.Loc ation; | |||||
| 8 | ||||||
| 9 | import jav a.util.Arr ayList; | |||||
| 10 | import jav a.util.Col lection; | |||||
| 11 | ||||||
| 12 | public cla ss MockFac ilityServi ce impleme nts Facili tyService { | |||||
| 13 | ||||||
| 14 | Collec tion<Facil ity> allFa cilities; | |||||
| 15 | Collec tion<Facil ity> allow edFaciliti es; | |||||
| 16 | Facili ty fac1 = new Facili ty(); | |||||
| 17 | ||||||
| 18 | public MockFacil ityService () { | |||||
| 19 | ||||||
| 20 | fa c1.setAllo wed(true); | |||||
| 21 | fa c1.setFaci lityId(new Long(101) ); | |||||
| 22 | fa c1.setFaci lityName(" VA Facilit y 1"); | |||||
| 23 | fa c1.setFaci lityStatio n("998"); | |||||
| 24 | ||||||
| 25 | Fa cility fac 2 = new Fa cility(); | |||||
| 26 | fa c2.setAllo wed(false) ; | |||||
| 27 | fa c2.setFaci lityId(new Long(102) ); | |||||
| 28 | fa c2.setFaci lityName(" VA Facilit y 2"); | |||||
| 29 | fa c2.setFaci lityStatio n("999"); | |||||
| 30 | ||||||
| 31 | al lowedFacil ities = ne w ArrayLis t<Facility >(); | |||||
| 32 | al lowedFacil ities.add( fac1); | |||||
| 33 | ||||||
| 34 | al lFacilitie s = new Ar rayList<Fa cility>(); | |||||
| 35 | al lFacilitie s.add(fac1 ); | |||||
| 36 | al lFacilitie s.add(fac2 ); | |||||
| 37 | } | |||||
| 38 | ||||||
| 39 | @O verride | |||||
| 40 | pu blic Colle ction<gov. va.nvap.sv c.facility .data.Faci lity> getA llVistAFac ilities() { | |||||
| 41 | // T ODO Auto-g enerated m ethod stub | |||||
| 42 | retu rn this.al lFacilitie s; | |||||
| 43 | } | |||||
| 44 | ||||||
| 45 | @O verride | |||||
| 46 | pu blic gov.v a.nvap.svc .facility. data.Facil ity getFac ilityBySta tionNumber ( | |||||
| 47 | String id) throw s EntityDo esNotExist Exception, | |||||
| 48 | Illega lArgumentE xception { | |||||
| 49 | // T ODO Auto-g enerated m ethod stub | |||||
| 50 | retu rn fac1; | |||||
| 51 | } | |||||
| 52 | ||||||
| 53 | @O verride | |||||
| 54 | pu blic gov.v a.nvap.svc .facility. data.Facil ity getVHA UserFacili ty( | |||||
| 55 | String vhaUserId ) throws E ntityDoesN otExistExc eption, | |||||
| 56 | Illega lArgumentE xception { | |||||
| 57 | // T ODO Auto-g enerated m ethod stub | |||||
| 58 | retu rn fac1; | |||||
| 59 | } | |||||
| 60 | ||||||
| 61 | @O verride | |||||
| 62 | pu blic Colle ction<Faci lity> getA llowedVist AFacilitie s() { | |||||
| 63 | // T ODO Auto-g enerated m ethod stub | |||||
| 64 | retu rn this.al lowedFacil ities; | |||||
| 65 | } | |||||
| 66 | ||||||
| 67 | @O verride | |||||
| 68 | pu blic Locat ion getLoc ationByCod e(String l ocationCod e) | |||||
| 69 | throws EntityDoe sNotExistE xception, IllegalArg umentExcep tion { | |||||
| 70 | // T ODO Auto-g enerated m ethod stub | |||||
| 71 | retu rn null; | |||||
| 72 | } | |||||
| 73 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.