ffc-pay-schemes 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/README.md +8 -3
  2. package/app/constants/unknown.js +3 -0
  3. package/app/get-scheme-ids.js +9 -0
  4. package/app/get-scheme-name-from-scheme-id.js +2 -1
  5. package/app/get-scheme-names.js +9 -0
  6. package/app/get-source-system-from-scheme-id.js +2 -1
  7. package/app/get-source-systems.js +9 -0
  8. package/index.js +7 -3
  9. package/package.json +1 -1
  10. package/test/unit/get-scheme-ids.test.js +8 -0
  11. package/test/unit/get-scheme-name-from-scheme-id.test.js +5 -4
  12. package/test/unit/get-scheme-names.test.js +8 -0
  13. package/test/unit/get-source-system-from-scheme-id.test.js +5 -4
  14. package/test/unit/get-source-systems.test.js +8 -0
  15. package/test-output/cobertura-coverage.xml +64 -9
  16. package/test-output/junit.xml +305 -293
  17. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ap.js.html +1 -1
  18. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-admin.js.html +1 -1
  19. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-irregular.js.html +1 -1
  20. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/index.html +1 -1
  21. package/test-output/lcov-report/ffc-pay-schemes/app/constants/delivery-bodies.js.html +1 -1
  22. package/test-output/lcov-report/ffc-pay-schemes/app/constants/description-codes.js.html +1 -1
  23. package/test-output/lcov-report/ffc-pay-schemes/app/constants/fund-codes.js.html +1 -1
  24. package/test-output/lcov-report/ffc-pay-schemes/app/constants/index.html +18 -3
  25. package/test-output/lcov-report/ffc-pay-schemes/app/constants/pillars.js.html +1 -1
  26. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-batch-properties.js.html +1 -1
  27. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-ids.js.html +2 -2
  28. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-names.js.html +2 -2
  29. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-not-requiring-ppas.js.html +1 -1
  30. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-providing-account-values.js.html +1 -1
  31. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes.js.html +1 -1
  32. package/test-output/lcov-report/ffc-pay-schemes/app/constants/source-systems.js.html +2 -2
  33. package/test-output/lcov-report/ffc-pay-schemes/app/constants/unknown.js.html +94 -0
  34. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-default-invoice-number.js.html +1 -1
  35. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-es-invoice-number.js.html +1 -1
  36. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-imps-invoice-number.js.html +1 -1
  37. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
  38. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-standard-scheme-invoice-number.js.html +1 -1
  39. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.html +1 -1
  40. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.js.html +1 -1
  41. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/use-invoice-number-as-is.js.html +1 -1
  42. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-default-invoice-number.js.html +1 -1
  43. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
  44. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.html +1 -1
  45. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.js.html +1 -1
  46. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/bps-map.js.html +1 -1
  47. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cohtc-map.js.html +1 -1
  48. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cs-map.js.html +1 -1
  49. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/default-map.js.html +1 -1
  50. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/delinked-map.js.html +1 -1
  51. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.html +1 -1
  52. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.js.html +1 -1
  53. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/lump-sums-map.js.html +1 -1
  54. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/sfi-frps-map.js.html +1 -1
  55. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/vet-visits-map.js.html +1 -1
  56. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-batch-properties.js.html +1 -1
  57. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-id-from-source-system.js.html +1 -1
  58. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-ids.js.html +112 -0
  59. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-name-from-scheme-id.js.html +10 -7
  60. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-names.js.html +112 -0
  61. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-properties.js.html +1 -1
  62. package/test-output/lcov-report/ffc-pay-schemes/app/get-schemes.js.html +1 -1
  63. package/test-output/lcov-report/ffc-pay-schemes/app/get-source-system-from-scheme-id.js.html +7 -4
  64. package/test-output/lcov-report/ffc-pay-schemes/app/get-source-systems.js.html +112 -0
  65. package/test-output/lcov-report/ffc-pay-schemes/app/index.html +52 -7
  66. package/test-output/lcov-report/ffc-pay-schemes/app/scheme-does-not-require-ppas.js.html +1 -1
  67. package/test-output/lcov-report/ffc-pay-schemes/app/scheme-provides-accounting-values.js.html +1 -1
  68. package/test-output/lcov-report/ffc-pay-schemes/index.html +5 -5
  69. package/test-output/lcov-report/ffc-pay-schemes/index.js.html +19 -7
  70. package/test-output/lcov-report/index.html +15 -15
  71. package/test-output/lcov.info +71 -11
package/README.md CHANGED
@@ -18,13 +18,16 @@ const {
18
18
  createSplitInvoiceNumber,
19
19
  getAccountCodeMap,
20
20
  getSchemeBatchProperties,
21
+ getSchemeIdFromSourceSystem,
22
+ getSchemeIds,
21
23
  getSchemeNameFromSchemeId,
24
+ getSchemeNames,
22
25
  getSchemeProperties,
23
26
  getSchemes,
24
27
  getSourceSystemFromSchemeId,
28
+ getSourceSystems,
25
29
  schemeDoesNotRequirePPAs,
26
- schemeProvidesAccountingValues,
27
- schemeIds
30
+ schemeProvidesAccountingValues
28
31
  } = require('ffc-pay-schemes')
29
32
  ```
30
33
 
@@ -33,13 +36,15 @@ const {
33
36
  - `getAccountCodeMap(schemeId)` returns the account code mapping used for a given `schemeId`.
34
37
  - `getSchemeBatchProperties(schemeId)` returns the batch processing properties for a given `schemeId`.
35
38
  - `getSchemeIdFromSourceSystem(sourceSystem)` returns the scheme ID for a given `sourceSystem`.
39
+ - `getSchemeIds()` returns all supported scheme IDs.
36
40
  - `getSchemeNameFromSchemeId(schemeId)` returns the scheme name for a given `schemeId`.
41
+ - `getSchemeNames()` returns all supported scheme names.
37
42
  - `getSchemeProperties(schemeId, sourceSystem, pillar)` returns the default payment properties for a scheme. A scheme can be identified by its ID or source system. The optional `pillar` can be used for manual payments.
38
43
  - `getSchemes()` returns all supported schemes as an array of objects containing `schemeId`, `schemeName` and `sourceSystem`.
39
44
  - `getSourceSystemFromSchemeId(schemeId)` returns the source system name for a given `schemeId`.
45
+ - `getSourceSystems()` returns all supported source systems.
40
46
  - `schemeDoesNotRequirePPAs(schemeId)` returns `true` if Payment Hub does not support Post Payment Adjustments (PPAs) for a given `schemeId`; otherwise, it returns `false`.
41
47
  - `schemeProvidesAccountingValues(schemeId)` returns `true` if a given `schemeId` provides accounting values within its payment requests; otherwise, it returns `false`.
42
- - `schemeIds` provides the constants for all supported scheme IDs.
43
48
 
44
49
  ### Examples
45
50
 
@@ -0,0 +1,3 @@
1
+ module.exports = {
2
+ UNKNOWN: 'Unknown'
3
+ }
@@ -0,0 +1,9 @@
1
+ const schemeIds = require('./constants/scheme-ids')
2
+
3
+ const getSchemeIds = () => {
4
+ return schemeIds
5
+ }
6
+
7
+ module.exports = {
8
+ getSchemeIds
9
+ }
@@ -1,8 +1,9 @@
1
+ const { UNKNOWN } = require('./constants/unknown')
1
2
  const { getSchemes } = require('./get-schemes')
2
3
 
3
4
  const getSchemeNameFromSchemeId = (schemeId) => {
4
5
  const matchingScheme = getSchemes().find((scheme) => scheme.schemeId === schemeId)
5
- return matchingScheme?.schemeName
6
+ return matchingScheme?.schemeName ?? UNKNOWN
6
7
  }
7
8
 
8
9
  module.exports = {
@@ -0,0 +1,9 @@
1
+ const schemeNames = require('./constants/scheme-names')
2
+
3
+ const getSchemeNames = () => {
4
+ return schemeNames
5
+ }
6
+
7
+ module.exports = {
8
+ getSchemeNames
9
+ }
@@ -1,8 +1,9 @@
1
+ const { UNKNOWN } = require('./constants/unknown')
1
2
  const { getSchemes } = require('./get-schemes')
2
3
 
3
4
  const getSourceSystemFromSchemeId = (schemeId) => {
4
5
  const matchingScheme = getSchemes().find((scheme) => scheme.schemeId === schemeId)
5
- return matchingScheme?.sourceSystem
6
+ return matchingScheme?.sourceSystem ?? UNKNOWN
6
7
  }
7
8
 
8
9
  module.exports = {
@@ -0,0 +1,9 @@
1
+ const sourceSystems = require('./constants/source-systems')
2
+
3
+ const getSourceSystems = () => {
4
+ return sourceSystems
5
+ }
6
+
7
+ module.exports = {
8
+ getSourceSystems
9
+ }
package/index.js CHANGED
@@ -3,13 +3,15 @@ const { createSplitInvoiceNumber } = require('./app/create-split-invoice-number'
3
3
  const { getAccountCodeMap } = require('./app/get-account-code-map')
4
4
  const { getSchemeBatchProperties } = require('./app/get-scheme-batch-properties')
5
5
  const { getSchemeIdFromSourceSystem } = require('./app/get-scheme-id-from-source-system')
6
+ const { getSchemeIds } = require('./app/get-scheme-ids')
6
7
  const { getSchemeNameFromSchemeId } = require('./app/get-scheme-name-from-scheme-id')
8
+ const { getSchemeNames } = require('./app/get-scheme-names')
7
9
  const { getSchemeProperties } = require('./app/get-scheme-properties')
8
10
  const { getSchemes } = require('./app/get-schemes')
9
11
  const { getSourceSystemFromSchemeId } = require('./app/get-source-system-from-scheme-id')
12
+ const { getSourceSystems } = require('./app/get-source-systems')
10
13
  const { schemeDoesNotRequirePPAs } = require('./app/scheme-does-not-require-ppas')
11
14
  const { schemeProvidesAccountingValues } = require('./app/scheme-provides-accounting-values')
12
- const schemeIds = require('./app/constants/scheme-ids')
13
15
 
14
16
  module.exports = {
15
17
  createInvoiceNumber,
@@ -17,11 +19,13 @@ module.exports = {
17
19
  getAccountCodeMap,
18
20
  getSchemeBatchProperties,
19
21
  getSchemeIdFromSourceSystem,
22
+ getSchemeIds,
20
23
  getSchemeNameFromSchemeId,
24
+ getSchemeNames,
21
25
  getSchemeProperties,
22
26
  getSchemes,
23
27
  getSourceSystemFromSchemeId,
28
+ getSourceSystems,
24
29
  schemeDoesNotRequirePPAs,
25
- schemeProvidesAccountingValues,
26
- schemeIds
30
+ schemeProvidesAccountingValues
27
31
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ffc-pay-schemes",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Module for defining and providing details for the payment schemes supported by the Payment Hub.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,8 @@
1
+ const { getSchemeIds } = require('../../app/get-scheme-ids')
2
+ const schemeIds = require('../../app/constants/scheme-ids')
3
+
4
+ describe('getSchemeIds', () => {
5
+ test('returns all scheme IDs', () => {
6
+ expect(getSchemeIds()).toEqual(schemeIds)
7
+ })
8
+ })
@@ -4,6 +4,7 @@ jest.mock('../../app/get-schemes', () => ({
4
4
 
5
5
  const { getSchemes } = require('../../app/get-schemes')
6
6
  const { getSchemeNameFromSchemeId } = require('../../app/get-scheme-name-from-scheme-id')
7
+ const { UNKNOWN } = require('../../app/constants/unknown')
7
8
 
8
9
  describe('getSchemeNameFromSchemeId', () => {
9
10
  beforeEach(() => {
@@ -22,7 +23,7 @@ describe('getSchemeNameFromSchemeId', () => {
22
23
  expect(getSchemeNameFromSchemeId(1)).toBe('Example Scheme')
23
24
  })
24
25
 
25
- test('returns undefined when the scheme ID is not found', () => {
26
+ test('returns unknown when the scheme ID is not found', () => {
26
27
  getSchemes.mockReturnValue([
27
28
  {
28
29
  schemeId: 1,
@@ -31,13 +32,13 @@ describe('getSchemeNameFromSchemeId', () => {
31
32
  }
32
33
  ])
33
34
 
34
- expect(getSchemeNameFromSchemeId(2)).toBeUndefined()
35
+ expect(getSchemeNameFromSchemeId(2)).toBe(UNKNOWN)
35
36
  })
36
37
 
37
- test('returns undefined when no schemes are available', () => {
38
+ test('returns unknown when no schemes are available', () => {
38
39
  getSchemes.mockReturnValue([])
39
40
 
40
- expect(getSchemeNameFromSchemeId(2)).toBeUndefined()
41
+ expect(getSchemeNameFromSchemeId(2)).toBe(UNKNOWN)
41
42
  })
42
43
 
43
44
  test('gets schemes before searching for the source system', () => {
@@ -0,0 +1,8 @@
1
+ const { getSchemeNames } = require('../../app/get-scheme-names')
2
+ const schemeNames = require('../../app/constants/scheme-names')
3
+
4
+ describe('getSchemeNames', () => {
5
+ test('returns all scheme names', () => {
6
+ expect(getSchemeNames()).toEqual(schemeNames)
7
+ })
8
+ })
@@ -2,6 +2,7 @@ jest.mock('../../app/get-schemes', () => ({
2
2
  getSchemes: jest.fn()
3
3
  }))
4
4
 
5
+ const { UNKNOWN } = require('../../app/constants/unknown')
5
6
  const { getSchemes } = require('../../app/get-schemes')
6
7
  const { getSourceSystemFromSchemeId } = require('../../app/get-source-system-from-scheme-id')
7
8
 
@@ -22,7 +23,7 @@ describe('getSourceSystemFromSchemeId', () => {
22
23
  expect(getSourceSystemFromSchemeId(1)).toBe('Example Source')
23
24
  })
24
25
 
25
- test('returns undefined when the scheme ID is not found', () => {
26
+ test('returns unknown when the scheme ID is not found', () => {
26
27
  getSchemes.mockReturnValue([
27
28
  {
28
29
  schemeId: 1,
@@ -31,13 +32,13 @@ describe('getSourceSystemFromSchemeId', () => {
31
32
  }
32
33
  ])
33
34
 
34
- expect(getSourceSystemFromSchemeId(2)).toBeUndefined()
35
+ expect(getSourceSystemFromSchemeId(2)).toBe(UNKNOWN)
35
36
  })
36
37
 
37
- test('returns undefined when no schemes are available', () => {
38
+ test('returns unknown when no schemes are available', () => {
38
39
  getSchemes.mockReturnValue([])
39
40
 
40
- expect(getSourceSystemFromSchemeId(2)).toBeUndefined()
41
+ expect(getSourceSystemFromSchemeId(2)).toBe(UNKNOWN)
41
42
  })
42
43
 
43
44
  test('gets schemes before searching for the source system', () => {
@@ -0,0 +1,8 @@
1
+ const { getSourceSystems } = require('../../app/get-source-systems')
2
+ const sourceSystems = require('../../app/constants/source-systems')
3
+
4
+ describe('getSourceSystems', () => {
5
+ test('returns all source systems', () => {
6
+ expect(getSourceSystems()).toEqual(sourceSystems)
7
+ })
8
+ })
@@ -1,6 +1,6 @@
1
1
  <?xml version="1.0" ?>
2
2
  <!DOCTYPE coverage SYSTEM "http://cobertura.sourceforge.net/xml/coverage-04.dtd">
3
- <coverage lines-valid="220" lines-covered="207" line-rate="0.9409000000000001" branches-valid="50" branches-covered="50" branch-rate="1" timestamp="1787762739854" complexity="0" version="0.1">
3
+ <coverage lines-valid="236" lines-covered="221" line-rate="0.9364" branches-valid="52" branches-covered="52" branch-rate="1" timestamp="1787846748080" complexity="0" version="0.1">
4
4
  <sources>
5
5
  <source>/home/samplackett/ffc-pay-schemes</source>
6
6
  </sources>
@@ -23,7 +23,9 @@
23
23
  <line number="10" hits="0" branch="false"/>
24
24
  <line number="11" hits="0" branch="false"/>
25
25
  <line number="12" hits="0" branch="false"/>
26
+ <line number="13" hits="0" branch="false"/>
26
27
  <line number="14" hits="0" branch="false"/>
28
+ <line number="16" hits="0" branch="false"/>
27
29
  </lines>
28
30
  </class>
29
31
  </classes>
@@ -71,25 +73,56 @@
71
73
  <line number="8" hits="1" branch="false"/>
72
74
  </lines>
73
75
  </class>
76
+ <class name="get-scheme-ids.js" filename="app/get-scheme-ids.js" line-rate="1" branch-rate="1">
77
+ <methods>
78
+ <method name="(anonymous_0)" hits="1" signature="()V">
79
+ <lines>
80
+ <line number="3" hits="1"/>
81
+ </lines>
82
+ </method>
83
+ </methods>
84
+ <lines>
85
+ <line number="1" hits="1" branch="false"/>
86
+ <line number="3" hits="1" branch="false"/>
87
+ <line number="4" hits="1" branch="false"/>
88
+ <line number="7" hits="1" branch="false"/>
89
+ </lines>
90
+ </class>
74
91
  <class name="get-scheme-name-from-scheme-id.js" filename="app/get-scheme-name-from-scheme-id.js" line-rate="1" branch-rate="1">
75
92
  <methods>
76
93
  <method name="(anonymous_0)" hits="4" signature="()V">
77
94
  <lines>
78
- <line number="3" hits="4"/>
95
+ <line number="4" hits="4"/>
79
96
  </lines>
80
97
  </method>
81
98
  <method name="(anonymous_1)" hits="2" signature="()V">
82
99
  <lines>
83
- <line number="4" hits="2"/>
100
+ <line number="5" hits="2"/>
84
101
  </lines>
85
102
  </method>
86
103
  </methods>
87
104
  <lines>
88
105
  <line number="1" hits="1" branch="false"/>
89
- <line number="3" hits="1" branch="false"/>
90
- <line number="4" hits="4" branch="false"/>
106
+ <line number="2" hits="1" branch="false"/>
107
+ <line number="4" hits="1" branch="false"/>
91
108
  <line number="5" hits="4" branch="false"/>
92
- <line number="8" hits="1" branch="false"/>
109
+ <line number="6" hits="4" branch="true" condition-coverage="100% (2/2)"/>
110
+ <line number="9" hits="1" branch="false"/>
111
+ </lines>
112
+ </class>
113
+ <class name="get-scheme-names.js" filename="app/get-scheme-names.js" line-rate="1" branch-rate="1">
114
+ <methods>
115
+ <method name="(anonymous_0)" hits="1" signature="()V">
116
+ <lines>
117
+ <line number="3" hits="1"/>
118
+ </lines>
119
+ </method>
120
+ </methods>
121
+ <lines>
122
+ <line number="1" hits="1" branch="false"/>
123
+ <line number="3" hits="1" branch="false"/>
124
+ <line number="4" hits="1" branch="false"/>
125
+ <line number="7" hits="1" branch="false"/>
93
126
  </lines>
94
127
  </class>
95
128
  <class name="get-scheme-properties.js" filename="app/get-scheme-properties.js" line-rate="1" branch-rate="1">
@@ -175,6 +208,21 @@
175
208
  <line number="8" hits="1" branch="false"/>
176
209
  </lines>
177
210
  </class>
211
+ <class name="get-source-systems.js" filename="app/get-source-systems.js" line-rate="1" branch-rate="1">
212
+ <methods>
213
+ <method name="(anonymous_0)" hits="1" signature="()V">
214
+ <lines>
215
+ <line number="3" hits="1"/>
216
+ </lines>
217
+ </method>
218
+ </methods>
219
+ <lines>
220
+ <line number="1" hits="1" branch="false"/>
221
+ <line number="3" hits="1" branch="false"/>
222
+ <line number="4" hits="1" branch="false"/>
223
+ <line number="7" hits="1" branch="false"/>
224
+ </lines>
225
+ </class>
178
226
  <class name="scheme-does-not-require-ppas.js" filename="app/scheme-does-not-require-ppas.js" line-rate="1" branch-rate="1">
179
227
  <methods>
180
228
  <method name="(anonymous_0)" hits="18" signature="()V">
@@ -249,14 +297,14 @@
249
297
  <methods>
250
298
  </methods>
251
299
  <lines>
252
- <line number="1" hits="8" branch="false"/>
300
+ <line number="1" hits="9" branch="false"/>
253
301
  </lines>
254
302
  </class>
255
303
  <class name="scheme-names.js" filename="app/constants/scheme-names.js" line-rate="1" branch-rate="1">
256
304
  <methods>
257
305
  </methods>
258
306
  <lines>
259
- <line number="1" hits="1" branch="false"/>
307
+ <line number="1" hits="2" branch="false"/>
260
308
  </lines>
261
309
  </class>
262
310
  <class name="schemes-not-requiring-ppas.js" filename="app/constants/schemes-not-requiring-ppas.js" line-rate="1" branch-rate="1">
@@ -291,7 +339,14 @@
291
339
  <methods>
292
340
  </methods>
293
341
  <lines>
294
- <line number="1" hits="3" branch="false"/>
342
+ <line number="1" hits="4" branch="false"/>
343
+ </lines>
344
+ </class>
345
+ <class name="unknown.js" filename="app/constants/unknown.js" line-rate="1" branch-rate="1">
346
+ <methods>
347
+ </methods>
348
+ <lines>
349
+ <line number="1" hits="1" branch="false"/>
295
350
  </lines>
296
351
  </class>
297
352
  </classes>