ffc-pay-schemes 1.0.2 → 1.0.4

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 (67) hide show
  1. package/README.md +10 -9
  2. package/app/get-scheme-id-from-source-system.js +10 -0
  3. package/app/get-scheme-name-from-scheme-id.js +10 -0
  4. package/app/get-schemes.js +3 -1
  5. package/app/get-source-system-from-scheme-id.js +10 -0
  6. package/index.js +6 -0
  7. package/package.json +1 -1
  8. package/sonar-project.properties +2 -2
  9. package/test/unit/get-scheme-id-from-source-system.test.js +50 -0
  10. package/test/unit/get-scheme-name-from-scheme-id.test.js +50 -0
  11. package/test/unit/get-schemes.test.js +5 -2
  12. package/test/unit/get-source-system-from-scheme-id.test.js +50 -0
  13. package/test-output/cobertura-coverage.xml +74 -7
  14. package/test-output/junit.xml +288 -258
  15. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ap.js.html +1 -1
  16. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-admin.js.html +1 -1
  17. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/ar-irregular.js.html +1 -1
  18. package/test-output/lcov-report/ffc-pay-schemes/app/constants/account-codes/index.html +1 -1
  19. package/test-output/lcov-report/ffc-pay-schemes/app/constants/delivery-bodies.js.html +1 -1
  20. package/test-output/lcov-report/ffc-pay-schemes/app/constants/description-codes.js.html +1 -1
  21. package/test-output/lcov-report/ffc-pay-schemes/app/constants/fund-codes.js.html +1 -1
  22. package/test-output/lcov-report/ffc-pay-schemes/app/constants/index.html +1 -1
  23. package/test-output/lcov-report/ffc-pay-schemes/app/constants/pillars.js.html +1 -1
  24. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-batch-properties.js.html +1 -1
  25. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-ids.js.html +1 -1
  26. package/test-output/lcov-report/ffc-pay-schemes/app/constants/scheme-names.js.html +1 -1
  27. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-not-requiring-ppas.js.html +1 -1
  28. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes-providing-account-values.js.html +1 -1
  29. package/test-output/lcov-report/ffc-pay-schemes/app/constants/schemes.js.html +1 -1
  30. package/test-output/lcov-report/ffc-pay-schemes/app/constants/source-systems.js.html +2 -2
  31. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-default-invoice-number.js.html +1 -1
  32. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-es-invoice-number.js.html +1 -1
  33. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-imps-invoice-number.js.html +1 -1
  34. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
  35. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/create-standard-scheme-invoice-number.js.html +1 -1
  36. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.html +1 -1
  37. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/index.js.html +1 -1
  38. package/test-output/lcov-report/ffc-pay-schemes/app/create-invoice-number/use-invoice-number-as-is.js.html +1 -1
  39. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-default-invoice-number.js.html +1 -1
  40. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/create-siti-agri-invoice-number.js.html +1 -1
  41. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.html +1 -1
  42. package/test-output/lcov-report/ffc-pay-schemes/app/create-split-invoice-number/index.js.html +1 -1
  43. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/bps-map.js.html +1 -1
  44. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cohtc-map.js.html +1 -1
  45. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/cs-map.js.html +1 -1
  46. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/default-map.js.html +1 -1
  47. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/delinked-map.js.html +1 -1
  48. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.html +1 -1
  49. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/index.js.html +1 -1
  50. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/lump-sums-map.js.html +1 -1
  51. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/sfi-frps-map.js.html +1 -1
  52. package/test-output/lcov-report/ffc-pay-schemes/app/get-account-code-map/vet-visits-map.js.html +1 -1
  53. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-batch-properties.js.html +1 -1
  54. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-id-from-source-system.js.html +115 -0
  55. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-name-from-scheme-id.js.html +115 -0
  56. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-name.js.html +115 -0
  57. package/test-output/lcov-report/ffc-pay-schemes/app/get-scheme-properties.js.html +1 -1
  58. package/test-output/lcov-report/ffc-pay-schemes/app/get-schemes.js.html +11 -5
  59. package/test-output/lcov-report/ffc-pay-schemes/app/get-source-system-from-scheme-id.js.html +115 -0
  60. package/test-output/lcov-report/ffc-pay-schemes/app/get-source-system.js.html +115 -0
  61. package/test-output/lcov-report/ffc-pay-schemes/app/index.html +49 -4
  62. package/test-output/lcov-report/ffc-pay-schemes/app/scheme-does-not-require-ppas.js.html +1 -1
  63. package/test-output/lcov-report/ffc-pay-schemes/app/scheme-provides-accounting-values.js.html +1 -1
  64. package/test-output/lcov-report/ffc-pay-schemes/index.html +5 -5
  65. package/test-output/lcov-report/ffc-pay-schemes/index.js.html +22 -4
  66. package/test-output/lcov-report/index.html +11 -11
  67. package/test-output/lcov.info +65 -7
@@ -1,49 +1,131 @@
1
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuites name="jest tests" tests="269" failures="0" errors="0" time="1.195">
3
- <testsuite name="get scheme batch properties" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.182" tests="18">
4
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 1" name="get scheme batch properties returns the batch properties for schemeId 1" time="0.002">
2
+ <testsuites name="jest tests" tests="281" failures="0" errors="0" time="0.82">
3
+ <testsuite name="getSchemeProperties" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:38" time="0.125" tests="54">
4
+ <testcase classname="getSchemeProperties returns the properties for schemeId 1" name="getSchemeProperties returns the properties for schemeId 1" time="0.002">
5
5
  </testcase>
6
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 2" name="get scheme batch properties returns the batch properties for schemeId 2" time="0.001">
6
+ <testcase classname="getSchemeProperties returns the properties for schemeId 2" name="getSchemeProperties returns the properties for schemeId 2" time="0">
7
7
  </testcase>
8
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 3" name="get scheme batch properties returns the batch properties for schemeId 3" time="0.001">
8
+ <testcase classname="getSchemeProperties returns the properties for schemeId 3" name="getSchemeProperties returns the properties for schemeId 3" time="0.001">
9
9
  </testcase>
10
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 4" name="get scheme batch properties returns the batch properties for schemeId 4" time="0">
10
+ <testcase classname="getSchemeProperties returns the properties for schemeId 4" name="getSchemeProperties returns the properties for schemeId 4" time="0">
11
11
  </testcase>
12
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 5" name="get scheme batch properties returns the batch properties for schemeId 5" time="0">
12
+ <testcase classname="getSchemeProperties returns the properties for schemeId 5" name="getSchemeProperties returns the properties for schemeId 5" time="0.001">
13
13
  </testcase>
14
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 6" name="get scheme batch properties returns the batch properties for schemeId 6" time="0.001">
14
+ <testcase classname="getSchemeProperties returns the properties for schemeId 6" name="getSchemeProperties returns the properties for schemeId 6" time="0">
15
15
  </testcase>
16
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 8" name="get scheme batch properties returns the batch properties for schemeId 8" time="0">
16
+ <testcase classname="getSchemeProperties returns the properties for schemeId 8" name="getSchemeProperties returns the properties for schemeId 8" time="0">
17
17
  </testcase>
18
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 9" name="get scheme batch properties returns the batch properties for schemeId 9" time="0.001">
18
+ <testcase classname="getSchemeProperties returns the properties for schemeId 9" name="getSchemeProperties returns the properties for schemeId 9" time="0">
19
19
  </testcase>
20
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 10" name="get scheme batch properties returns the batch properties for schemeId 10" time="0.001">
20
+ <testcase classname="getSchemeProperties returns the properties for schemeId 10" name="getSchemeProperties returns the properties for schemeId 10" time="0">
21
21
  </testcase>
22
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 11" name="get scheme batch properties returns the batch properties for schemeId 11" time="0.001">
22
+ <testcase classname="getSchemeProperties returns the properties for schemeId 11" name="getSchemeProperties returns the properties for schemeId 11" time="0.001">
23
23
  </testcase>
24
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 12" name="get scheme batch properties returns the batch properties for schemeId 12" time="0">
24
+ <testcase classname="getSchemeProperties returns the properties for schemeId 12" name="getSchemeProperties returns the properties for schemeId 12" time="0">
25
25
  </testcase>
26
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 13" name="get scheme batch properties returns the batch properties for schemeId 13" time="0">
26
+ <testcase classname="getSchemeProperties returns the properties for schemeId 13" name="getSchemeProperties returns the properties for schemeId 13" time="0">
27
27
  </testcase>
28
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 14" name="get scheme batch properties returns the batch properties for schemeId 14" time="0.001">
28
+ <testcase classname="getSchemeProperties returns the properties for schemeId 14" name="getSchemeProperties returns the properties for schemeId 14" time="0">
29
29
  </testcase>
30
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 15" name="get scheme batch properties returns the batch properties for schemeId 15" time="0">
30
+ <testcase classname="getSchemeProperties returns the properties for schemeId 15" name="getSchemeProperties returns the properties for schemeId 15" time="0">
31
31
  </testcase>
32
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 16" name="get scheme batch properties returns the batch properties for schemeId 16" time="0">
32
+ <testcase classname="getSchemeProperties returns the properties for schemeId 16" name="getSchemeProperties returns the properties for schemeId 16" time="0.003">
33
33
  </testcase>
34
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 17" name="get scheme batch properties returns the batch properties for schemeId 17" time="0">
34
+ <testcase classname="getSchemeProperties returns the properties for schemeId 17" name="getSchemeProperties returns the properties for schemeId 17" time="0.001">
35
35
  </testcase>
36
- <testcase classname="get scheme batch properties returns the batch properties for schemeId 18" name="get scheme batch properties returns the batch properties for schemeId 18" time="0">
36
+ <testcase classname="getSchemeProperties returns the properties for schemeId 18" name="getSchemeProperties returns the properties for schemeId 18" time="0">
37
37
  </testcase>
38
- <testcase classname="get scheme batch properties returns undefined for an unknown schemeId" name="get scheme batch properties returns undefined for an unknown schemeId" time="0">
38
+ <testcase classname="getSchemeProperties returns the properties for schemeId 1, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 1, even if sourceSystem does not match" time="0">
39
+ </testcase>
40
+ <testcase classname="getSchemeProperties returns the properties for schemeId 2, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 2, even if sourceSystem does not match" time="0">
41
+ </testcase>
42
+ <testcase classname="getSchemeProperties returns the properties for schemeId 3, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 3, even if sourceSystem does not match" time="0">
43
+ </testcase>
44
+ <testcase classname="getSchemeProperties returns the properties for schemeId 4, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 4, even if sourceSystem does not match" time="0">
45
+ </testcase>
46
+ <testcase classname="getSchemeProperties returns the properties for schemeId 5, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 5, even if sourceSystem does not match" time="0">
47
+ </testcase>
48
+ <testcase classname="getSchemeProperties returns the properties for schemeId 6, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 6, even if sourceSystem does not match" time="0.001">
49
+ </testcase>
50
+ <testcase classname="getSchemeProperties returns the properties for schemeId 8, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 8, even if sourceSystem does not match" time="0">
51
+ </testcase>
52
+ <testcase classname="getSchemeProperties returns the properties for schemeId 9, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 9, even if sourceSystem does not match" time="0">
53
+ </testcase>
54
+ <testcase classname="getSchemeProperties returns the properties for schemeId 10, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 10, even if sourceSystem does not match" time="0">
55
+ </testcase>
56
+ <testcase classname="getSchemeProperties returns the properties for schemeId 11, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 11, even if sourceSystem does not match" time="0">
57
+ </testcase>
58
+ <testcase classname="getSchemeProperties returns the properties for schemeId 12, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 12, even if sourceSystem does not match" time="0">
59
+ </testcase>
60
+ <testcase classname="getSchemeProperties returns the properties for schemeId 13, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 13, even if sourceSystem does not match" time="0">
61
+ </testcase>
62
+ <testcase classname="getSchemeProperties returns the properties for schemeId 14, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 14, even if sourceSystem does not match" time="0.001">
63
+ </testcase>
64
+ <testcase classname="getSchemeProperties returns the properties for schemeId 15, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 15, even if sourceSystem does not match" time="0">
65
+ </testcase>
66
+ <testcase classname="getSchemeProperties returns the properties for schemeId 16, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 16, even if sourceSystem does not match" time="0">
67
+ </testcase>
68
+ <testcase classname="getSchemeProperties returns the properties for schemeId 17, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 17, even if sourceSystem does not match" time="0">
69
+ </testcase>
70
+ <testcase classname="getSchemeProperties returns the properties for schemeId 18, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 18, even if sourceSystem does not match" time="0">
71
+ </testcase>
72
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem SFI when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFI when schemeId is not present" time="0">
73
+ </testcase>
74
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem SFIP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFIP when schemeId is not present" time="0">
75
+ </testcase>
76
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem LSES when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem LSES when schemeId is not present" time="0">
77
+ </testcase>
78
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem AHWR when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem AHWR when schemeId is not present" time="0">
79
+ </testcase>
80
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem SITI AGRI CS SYS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SITI AGRI CS SYS when schemeId is not present" time="0">
81
+ </testcase>
82
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem SITI AGRI SYS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SITI AGRI SYS when schemeId is not present" time="0">
83
+ </testcase>
84
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem Injection when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem Injection when schemeId is not present" time="0">
85
+ </testcase>
86
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem Genesis when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem Genesis when schemeId is not present" time="0">
87
+ </testcase>
88
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem GLOS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem GLOS when schemeId is not present" time="0.001">
89
+ </testcase>
90
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem IMPS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem IMPS when schemeId is not present" time="0">
91
+ </testcase>
92
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem SFIA when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFIA when schemeId is not present" time="0">
93
+ </testcase>
94
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem DP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem DP when schemeId is not present" time="0">
95
+ </testcase>
96
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem ESFIO when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem ESFIO when schemeId is not present" time="0.001">
97
+ </testcase>
98
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem COHTR when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem COHTR when schemeId is not present" time="0">
99
+ </testcase>
100
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem COHTC when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem COHTC when schemeId is not present" time="0">
101
+ </testcase>
102
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem FPTT when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem FPTT when schemeId is not present" time="0">
103
+ </testcase>
104
+ <testcase classname="getSchemeProperties returns the properties for sourceSystem WMP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem WMP when schemeId is not present" time="0">
105
+ </testcase>
106
+ <testcase classname="getSchemeProperties throws an error for an unknown schemeId and sourceSystem" name="getSchemeProperties throws an error for an unknown schemeId and sourceSystem" time="0.005">
107
+ </testcase>
108
+ <testcase classname="getSchemeProperties uses the pillar delivery body and fund code for a manual scheme" name="getSchemeProperties uses the pillar delivery body and fund code for a manual scheme" time="0.001">
109
+ </testcase>
110
+ <testcase classname="getSchemeProperties returns the manual scheme unchanged for an unknown pillar" name="getSchemeProperties returns the manual scheme unchanged for an unknown pillar" time="0">
39
111
  </testcase>
40
112
  </testsuite>
41
- <testsuite name="getAccountCodeMap" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.071" tests="19">
42
- <testcase classname="getAccountCodeMap returns the correct map for SFI" name="getAccountCodeMap returns the correct map for SFI" time="0.002">
113
+ <testsuite name="getSchemeIdFromSourceSystem" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.024" tests="4">
114
+ <testcase classname="getSchemeIdFromSourceSystem returns the schemeId for a matching source system" name="getSchemeIdFromSourceSystem returns the schemeId for a matching source system" time="0.001">
43
115
  </testcase>
44
- <testcase classname="getAccountCodeMap returns the correct map for SFI_PILOT" name="getAccountCodeMap returns the correct map for SFI_PILOT" time="0">
116
+ <testcase classname="getSchemeIdFromSourceSystem returns undefined when the source system is not found" name="getSchemeIdFromSourceSystem returns undefined when the source system is not found" time="0">
45
117
  </testcase>
46
- <testcase classname="getAccountCodeMap returns the correct map for LUMP_SUMS" name="getAccountCodeMap returns the correct map for LUMP_SUMS" time="0.001">
118
+ <testcase classname="getSchemeIdFromSourceSystem returns undefined when no schemes are available" name="getSchemeIdFromSourceSystem returns undefined when no schemes are available" time="0">
119
+ </testcase>
120
+ <testcase classname="getSchemeIdFromSourceSystem gets schemes before searching for the source system" name="getSchemeIdFromSourceSystem gets schemes before searching for the source system" time="0">
121
+ </testcase>
122
+ </testsuite>
123
+ <testsuite name="getAccountCodeMap" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.04" tests="19">
124
+ <testcase classname="getAccountCodeMap returns the correct map for SFI" name="getAccountCodeMap returns the correct map for SFI" time="0">
125
+ </testcase>
126
+ <testcase classname="getAccountCodeMap returns the correct map for SFI_PILOT" name="getAccountCodeMap returns the correct map for SFI_PILOT" time="0.001">
127
+ </testcase>
128
+ <testcase classname="getAccountCodeMap returns the correct map for LUMP_SUMS" name="getAccountCodeMap returns the correct map for LUMP_SUMS" time="0">
47
129
  </testcase>
48
130
  <testcase classname="getAccountCodeMap returns the correct map for VET_VISITS" name="getAccountCodeMap returns the correct map for VET_VISITS" time="0">
49
131
  </testcase>
@@ -57,7 +139,7 @@
57
139
  </testcase>
58
140
  <testcase classname="getAccountCodeMap returns the correct map for SFI_EXPANDED" name="getAccountCodeMap returns the correct map for SFI_EXPANDED" time="0">
59
141
  </testcase>
60
- <testcase classname="getAccountCodeMap returns the correct map for COHT_REVENUE" name="getAccountCodeMap returns the correct map for COHT_REVENUE" time="0.001">
142
+ <testcase classname="getAccountCodeMap returns the correct map for COHT_REVENUE" name="getAccountCodeMap returns the correct map for COHT_REVENUE" time="0">
61
143
  </testcase>
62
144
  <testcase classname="getAccountCodeMap returns the correct map for COHT_CAPITAL" name="getAccountCodeMap returns the correct map for COHT_CAPITAL" time="0">
63
145
  </testcase>
@@ -65,20 +147,20 @@
65
147
  </testcase>
66
148
  <testcase classname="getAccountCodeMap returns the correct map for WMP" name="getAccountCodeMap returns the correct map for WMP" time="0">
67
149
  </testcase>
68
- <testcase classname="getAccountCodeMap throws an error for the unmapped MANUAL scheme" name="getAccountCodeMap throws an error for the unmapped MANUAL scheme" time="0.01">
150
+ <testcase classname="getAccountCodeMap throws an error for the unmapped MANUAL scheme" name="getAccountCodeMap throws an error for the unmapped MANUAL scheme" time="0.004">
69
151
  </testcase>
70
- <testcase classname="getAccountCodeMap throws an error for the unmapped ES scheme" name="getAccountCodeMap throws an error for the unmapped ES scheme" time="0.001">
152
+ <testcase classname="getAccountCodeMap throws an error for the unmapped ES scheme" name="getAccountCodeMap throws an error for the unmapped ES scheme" time="0">
71
153
  </testcase>
72
154
  <testcase classname="getAccountCodeMap throws an error for the unmapped FC scheme" name="getAccountCodeMap throws an error for the unmapped FC scheme" time="0.001">
73
155
  </testcase>
74
156
  <testcase classname="getAccountCodeMap throws an error for the unmapped IMPS scheme" name="getAccountCodeMap throws an error for the unmapped IMPS scheme" time="0">
75
157
  </testcase>
76
- <testcase classname="getAccountCodeMap throws an error when schemeId is not provided" name="getAccountCodeMap throws an error when schemeId is not provided" time="0.001">
158
+ <testcase classname="getAccountCodeMap throws an error when schemeId is not provided" name="getAccountCodeMap throws an error when schemeId is not provided" time="0">
77
159
  </testcase>
78
160
  <testcase classname="getAccountCodeMap throws an error for an unknown schemeId" name="getAccountCodeMap throws an error for an unknown schemeId" time="0.001">
79
161
  </testcase>
80
162
  </testsuite>
81
- <testsuite name="CS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.052" tests="22">
163
+ <testsuite name="CS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.027" tests="22">
82
164
  <testcase classname="CS account code map contains all expected mappings" name="CS account code map contains all expected mappings" time="0.002">
83
165
  </testcase>
84
166
  <testcase classname="CS account code map contains the expected mapping for G00" name="CS account code map contains the expected mapping for G00" time="0">
@@ -89,153 +171,101 @@
89
171
  </testcase>
90
172
  <testcase classname="CS account code map contains the expected mapping for P02" name="CS account code map contains the expected mapping for P02" time="0">
91
173
  </testcase>
92
- <testcase classname="CS account code map contains the expected mapping for P02" name="CS account code map contains the expected mapping for P02" time="0">
174
+ <testcase classname="CS account code map contains the expected mapping for P02" name="CS account code map contains the expected mapping for P02" time="0.001">
93
175
  </testcase>
94
176
  <testcase classname="CS account code map contains the expected mapping for P02" name="CS account code map contains the expected mapping for P02" time="0">
95
177
  </testcase>
96
178
  <testcase classname="CS account code map contains the expected mapping for P05" name="CS account code map contains the expected mapping for P05" time="0">
97
179
  </testcase>
98
- <testcase classname="CS account code map contains the expected mapping for P05" name="CS account code map contains the expected mapping for P05" time="0">
180
+ <testcase classname="CS account code map contains the expected mapping for P05" name="CS account code map contains the expected mapping for P05" time="0.001">
99
181
  </testcase>
100
182
  <testcase classname="CS account code map contains the expected mapping for P06" name="CS account code map contains the expected mapping for P06" time="0">
101
183
  </testcase>
102
184
  <testcase classname="CS account code map contains the expected mapping for P06" name="CS account code map contains the expected mapping for P06" time="0">
103
185
  </testcase>
104
- <testcase classname="CS account code map contains the expected mapping for P08" name="CS account code map contains the expected mapping for P08" time="0">
105
- </testcase>
106
186
  <testcase classname="CS account code map contains the expected mapping for P08" name="CS account code map contains the expected mapping for P08" time="0.001">
107
187
  </testcase>
108
- <testcase classname="CS account code map contains the expected mapping for P14" name="CS account code map contains the expected mapping for P14" time="0">
188
+ <testcase classname="CS account code map contains the expected mapping for P08" name="CS account code map contains the expected mapping for P08" time="0">
109
189
  </testcase>
110
190
  <testcase classname="CS account code map contains the expected mapping for P14" name="CS account code map contains the expected mapping for P14" time="0.001">
111
191
  </testcase>
112
- <testcase classname="CS account code map contains the expected mapping for P22" name="CS account code map contains the expected mapping for P22" time="0.001">
192
+ <testcase classname="CS account code map contains the expected mapping for P14" name="CS account code map contains the expected mapping for P14" time="0">
193
+ </testcase>
194
+ <testcase classname="CS account code map contains the expected mapping for P22" name="CS account code map contains the expected mapping for P22" time="0">
113
195
  </testcase>
114
196
  <testcase classname="CS account code map contains the expected mapping for P22" name="CS account code map contains the expected mapping for P22" time="0">
115
197
  </testcase>
116
- <testcase classname="CS account code map contains the expected mapping for P23" name="CS account code map contains the expected mapping for P23" time="0.001">
198
+ <testcase classname="CS account code map contains the expected mapping for P23" name="CS account code map contains the expected mapping for P23" time="0">
117
199
  </testcase>
118
- <testcase classname="CS account code map contains the expected mapping for P23" name="CS account code map contains the expected mapping for P23" time="0.001">
200
+ <testcase classname="CS account code map contains the expected mapping for P23" name="CS account code map contains the expected mapping for P23" time="0">
119
201
  </testcase>
120
202
  <testcase classname="CS account code map contains the expected mapping for P24" name="CS account code map contains the expected mapping for P24" time="0">
121
203
  </testcase>
122
204
  <testcase classname="CS account code map contains the expected mapping for P24" name="CS account code map contains the expected mapping for P24" time="0.001">
123
205
  </testcase>
124
- <testcase classname="CS account code map contains the expected mapping for P24" name="CS account code map contains the expected mapping for P24" time="0.001">
206
+ <testcase classname="CS account code map contains the expected mapping for P24" name="CS account code map contains the expected mapping for P24" time="0">
125
207
  </testcase>
126
208
  </testsuite>
127
- <testsuite name="getSchemeProperties" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.068" tests="54">
128
- <testcase classname="getSchemeProperties returns the properties for schemeId 1" name="getSchemeProperties returns the properties for schemeId 1" time="0">
129
- </testcase>
130
- <testcase classname="getSchemeProperties returns the properties for schemeId 2" name="getSchemeProperties returns the properties for schemeId 2" time="0">
131
- </testcase>
132
- <testcase classname="getSchemeProperties returns the properties for schemeId 3" name="getSchemeProperties returns the properties for schemeId 3" time="0">
133
- </testcase>
134
- <testcase classname="getSchemeProperties returns the properties for schemeId 4" name="getSchemeProperties returns the properties for schemeId 4" time="0">
135
- </testcase>
136
- <testcase classname="getSchemeProperties returns the properties for schemeId 5" name="getSchemeProperties returns the properties for schemeId 5" time="0">
137
- </testcase>
138
- <testcase classname="getSchemeProperties returns the properties for schemeId 6" name="getSchemeProperties returns the properties for schemeId 6" time="0.001">
139
- </testcase>
140
- <testcase classname="getSchemeProperties returns the properties for schemeId 8" name="getSchemeProperties returns the properties for schemeId 8" time="0">
141
- </testcase>
142
- <testcase classname="getSchemeProperties returns the properties for schemeId 9" name="getSchemeProperties returns the properties for schemeId 9" time="0">
143
- </testcase>
144
- <testcase classname="getSchemeProperties returns the properties for schemeId 10" name="getSchemeProperties returns the properties for schemeId 10" time="0">
145
- </testcase>
146
- <testcase classname="getSchemeProperties returns the properties for schemeId 11" name="getSchemeProperties returns the properties for schemeId 11" time="0">
147
- </testcase>
148
- <testcase classname="getSchemeProperties returns the properties for schemeId 12" name="getSchemeProperties returns the properties for schemeId 12" time="0.001">
149
- </testcase>
150
- <testcase classname="getSchemeProperties returns the properties for schemeId 13" name="getSchemeProperties returns the properties for schemeId 13" time="0">
151
- </testcase>
152
- <testcase classname="getSchemeProperties returns the properties for schemeId 14" name="getSchemeProperties returns the properties for schemeId 14" time="0">
153
- </testcase>
154
- <testcase classname="getSchemeProperties returns the properties for schemeId 15" name="getSchemeProperties returns the properties for schemeId 15" time="0">
155
- </testcase>
156
- <testcase classname="getSchemeProperties returns the properties for schemeId 16" name="getSchemeProperties returns the properties for schemeId 16" time="0">
157
- </testcase>
158
- <testcase classname="getSchemeProperties returns the properties for schemeId 17" name="getSchemeProperties returns the properties for schemeId 17" time="0">
159
- </testcase>
160
- <testcase classname="getSchemeProperties returns the properties for schemeId 18" name="getSchemeProperties returns the properties for schemeId 18" time="0">
161
- </testcase>
162
- <testcase classname="getSchemeProperties returns the properties for schemeId 1, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 1, even if sourceSystem does not match" time="0">
209
+ <testsuite name="BPS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.027" tests="28">
210
+ <testcase classname="BPS account code map contains all expected line codes" name="BPS account code map contains all expected line codes" time="0.001">
163
211
  </testcase>
164
- <testcase classname="getSchemeProperties returns the properties for schemeId 2, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 2, even if sourceSystem does not match" time="0.001">
212
+ <testcase classname="BPS account code map returns the correct account codes for G00" name="BPS account code map returns the correct account codes for G00" time="0">
165
213
  </testcase>
166
- <testcase classname="getSchemeProperties returns the properties for schemeId 3, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 3, even if sourceSystem does not match" time="0">
167
- </testcase>
168
- <testcase classname="getSchemeProperties returns the properties for schemeId 4, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 4, even if sourceSystem does not match" time="0">
169
- </testcase>
170
- <testcase classname="getSchemeProperties returns the properties for schemeId 5, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 5, even if sourceSystem does not match" time="0">
171
- </testcase>
172
- <testcase classname="getSchemeProperties returns the properties for schemeId 6, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 6, even if sourceSystem does not match" time="0">
173
- </testcase>
174
- <testcase classname="getSchemeProperties returns the properties for schemeId 8, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 8, even if sourceSystem does not match" time="0">
175
- </testcase>
176
- <testcase classname="getSchemeProperties returns the properties for schemeId 9, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 9, even if sourceSystem does not match" time="0">
177
- </testcase>
178
- <testcase classname="getSchemeProperties returns the properties for schemeId 10, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 10, even if sourceSystem does not match" time="0">
179
- </testcase>
180
- <testcase classname="getSchemeProperties returns the properties for schemeId 11, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 11, even if sourceSystem does not match" time="0">
181
- </testcase>
182
- <testcase classname="getSchemeProperties returns the properties for schemeId 12, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 12, even if sourceSystem does not match" time="0">
183
- </testcase>
184
- <testcase classname="getSchemeProperties returns the properties for schemeId 13, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 13, even if sourceSystem does not match" time="0">
214
+ <testcase classname="BPS account code map returns the correct account codes for P01" name="BPS account code map returns the correct account codes for P01" time="0">
185
215
  </testcase>
186
- <testcase classname="getSchemeProperties returns the properties for schemeId 14, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 14, even if sourceSystem does not match" time="0.001">
216
+ <testcase classname="BPS account code map returns the correct account codes for P02" name="BPS account code map returns the correct account codes for P02" time="0">
187
217
  </testcase>
188
- <testcase classname="getSchemeProperties returns the properties for schemeId 15, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 15, even if sourceSystem does not match" time="0">
218
+ <testcase classname="BPS account code map returns the correct account codes for P03" name="BPS account code map returns the correct account codes for P03" time="0">
189
219
  </testcase>
190
- <testcase classname="getSchemeProperties returns the properties for schemeId 16, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 16, even if sourceSystem does not match" time="0">
220
+ <testcase classname="BPS account code map returns the correct account codes for P04" name="BPS account code map returns the correct account codes for P04" time="0">
191
221
  </testcase>
192
- <testcase classname="getSchemeProperties returns the properties for schemeId 17, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 17, even if sourceSystem does not match" time="0">
222
+ <testcase classname="BPS account code map returns the correct account codes for P05" name="BPS account code map returns the correct account codes for P05" time="0">
193
223
  </testcase>
194
- <testcase classname="getSchemeProperties returns the properties for schemeId 18, even if sourceSystem does not match" name="getSchemeProperties returns the properties for schemeId 18, even if sourceSystem does not match" time="0">
224
+ <testcase classname="BPS account code map returns the correct account codes for P06" name="BPS account code map returns the correct account codes for P06" time="0">
195
225
  </testcase>
196
- <testcase classname="getSchemeProperties returns the properties for sourceSystem SFI when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFI when schemeId is not present" time="0.001">
226
+ <testcase classname="BPS account code map returns the correct account codes for P07" name="BPS account code map returns the correct account codes for P07" time="0">
197
227
  </testcase>
198
- <testcase classname="getSchemeProperties returns the properties for sourceSystem SFIP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFIP when schemeId is not present" time="0">
228
+ <testcase classname="BPS account code map returns the correct account codes for P08" name="BPS account code map returns the correct account codes for P08" time="0">
199
229
  </testcase>
200
- <testcase classname="getSchemeProperties returns the properties for sourceSystem LSES when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem LSES when schemeId is not present" time="0">
230
+ <testcase classname="BPS account code map returns the correct account codes for P09" name="BPS account code map returns the correct account codes for P09" time="0">
201
231
  </testcase>
202
- <testcase classname="getSchemeProperties returns the properties for sourceSystem AHWR when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem AHWR when schemeId is not present" time="0">
232
+ <testcase classname="BPS account code map returns the correct account codes for P10" name="BPS account code map returns the correct account codes for P10" time="0">
203
233
  </testcase>
204
- <testcase classname="getSchemeProperties returns the properties for sourceSystem SITI AGRI CS SYS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SITI AGRI CS SYS when schemeId is not present" time="0">
234
+ <testcase classname="BPS account code map returns the correct account codes for P11" name="BPS account code map returns the correct account codes for P11" time="0">
205
235
  </testcase>
206
- <testcase classname="getSchemeProperties returns the properties for sourceSystem SITI AGRI SYS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SITI AGRI SYS when schemeId is not present" time="0">
236
+ <testcase classname="BPS account code map returns the correct account codes for P12" name="BPS account code map returns the correct account codes for P12" time="0">
207
237
  </testcase>
208
- <testcase classname="getSchemeProperties returns the properties for sourceSystem Injection when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem Injection when schemeId is not present" time="0.001">
238
+ <testcase classname="BPS account code map returns the correct account codes for P13" name="BPS account code map returns the correct account codes for P13" time="0">
209
239
  </testcase>
210
- <testcase classname="getSchemeProperties returns the properties for sourceSystem Genesis when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem Genesis when schemeId is not present" time="0">
240
+ <testcase classname="BPS account code map returns the correct account codes for P14" name="BPS account code map returns the correct account codes for P14" time="0">
211
241
  </testcase>
212
- <testcase classname="getSchemeProperties returns the properties for sourceSystem GLOS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem GLOS when schemeId is not present" time="0">
242
+ <testcase classname="BPS account code map returns the correct account codes for P15" name="BPS account code map returns the correct account codes for P15" time="0.001">
213
243
  </testcase>
214
- <testcase classname="getSchemeProperties returns the properties for sourceSystem IMPS when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem IMPS when schemeId is not present" time="0">
244
+ <testcase classname="BPS account code map returns the correct account codes for P16" name="BPS account code map returns the correct account codes for P16" time="0">
215
245
  </testcase>
216
- <testcase classname="getSchemeProperties returns the properties for sourceSystem SFIA when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem SFIA when schemeId is not present" time="0">
246
+ <testcase classname="BPS account code map returns the correct account codes for P17" name="BPS account code map returns the correct account codes for P17" time="0">
217
247
  </testcase>
218
- <testcase classname="getSchemeProperties returns the properties for sourceSystem DP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem DP when schemeId is not present" time="0">
248
+ <testcase classname="BPS account code map returns the correct account codes for P18" name="BPS account code map returns the correct account codes for P18" time="0">
219
249
  </testcase>
220
- <testcase classname="getSchemeProperties returns the properties for sourceSystem ESFIO when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem ESFIO when schemeId is not present" time="0">
250
+ <testcase classname="BPS account code map returns the correct account codes for P19" name="BPS account code map returns the correct account codes for P19" time="0">
221
251
  </testcase>
222
- <testcase classname="getSchemeProperties returns the properties for sourceSystem COHTR when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem COHTR when schemeId is not present" time="0">
252
+ <testcase classname="BPS account code map returns the correct account codes for P20" name="BPS account code map returns the correct account codes for P20" time="0">
223
253
  </testcase>
224
- <testcase classname="getSchemeProperties returns the properties for sourceSystem COHTC when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem COHTC when schemeId is not present" time="0">
254
+ <testcase classname="BPS account code map returns the correct account codes for P21" name="BPS account code map returns the correct account codes for P21" time="0">
225
255
  </testcase>
226
- <testcase classname="getSchemeProperties returns the properties for sourceSystem FPTT when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem FPTT when schemeId is not present" time="0">
256
+ <testcase classname="BPS account code map returns the correct account codes for R00" name="BPS account code map returns the correct account codes for R00" time="0">
227
257
  </testcase>
228
- <testcase classname="getSchemeProperties returns the properties for sourceSystem WMP when schemeId is not present" name="getSchemeProperties returns the properties for sourceSystem WMP when schemeId is not present" time="0">
258
+ <testcase classname="BPS account code map returns the correct account codes for X01" name="BPS account code map returns the correct account codes for X01" time="0">
229
259
  </testcase>
230
- <testcase classname="getSchemeProperties throws an error for an unknown schemeId and sourceSystem" name="getSchemeProperties throws an error for an unknown schemeId and sourceSystem" time="0.005">
260
+ <testcase classname="BPS account code map returns the correct account codes for X02" name="BPS account code map returns the correct account codes for X02" time="0.001">
231
261
  </testcase>
232
- <testcase classname="getSchemeProperties uses the pillar delivery body and fund code for a manual scheme" name="getSchemeProperties uses the pillar delivery body and fund code for a manual scheme" time="0.001">
262
+ <testcase classname="BPS account code map returns the correct account codes for X03" name="BPS account code map returns the correct account codes for X03" time="0">
233
263
  </testcase>
234
- <testcase classname="getSchemeProperties returns the manual scheme unchanged for an unknown pillar" name="getSchemeProperties returns the manual scheme unchanged for an unknown pillar" time="0">
264
+ <testcase classname="BPS account code map returns the correct account codes for X04" name="BPS account code map returns the correct account codes for X04" time="0">
235
265
  </testcase>
236
266
  </testsuite>
237
- <testsuite name="createInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.04" tests="19">
238
- <testcase classname="createInvoiceNumber returns the existing invoice number for MANUAL" name="createInvoiceNumber returns the existing invoice number for MANUAL" time="0.002">
267
+ <testsuite name="createInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.025" tests="19">
268
+ <testcase classname="createInvoiceNumber returns the existing invoice number for MANUAL" name="createInvoiceNumber returns the existing invoice number for MANUAL" time="0.001">
239
269
  </testcase>
240
270
  <testcase classname="createInvoiceNumber returns the existing invoice number for FC" name="createInvoiceNumber returns the existing invoice number for FC" time="0">
241
271
  </testcase>
@@ -245,7 +275,7 @@
245
275
  </testcase>
246
276
  <testcase classname="createInvoiceNumber returns the existing invoice number for a manual source system" name="createInvoiceNumber returns the existing invoice number for a manual source system" time="0">
247
277
  </testcase>
248
- <testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for DELINKED" name="createInvoiceNumber uses the standard scheme invoice number creator for DELINKED" time="0.001">
278
+ <testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for DELINKED" name="createInvoiceNumber uses the standard scheme invoice number creator for DELINKED" time="0">
249
279
  </testcase>
250
280
  <testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for SFI_EXPANDED" name="createInvoiceNumber uses the standard scheme invoice number creator for SFI_EXPANDED" time="0.001">
251
281
  </testcase>
@@ -253,11 +283,11 @@
253
283
  </testcase>
254
284
  <testcase classname="createInvoiceNumber uses the standard scheme invoice number creator for COHT_CAPITAL" name="createInvoiceNumber uses the standard scheme invoice number creator for COHT_CAPITAL" time="0">
255
285
  </testcase>
256
- <testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for SFI" name="createInvoiceNumber uses the SITI Agri invoice number creator for SFI" time="0.001">
286
+ <testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for SFI" name="createInvoiceNumber uses the SITI Agri invoice number creator for SFI" time="0">
257
287
  </testcase>
258
288
  <testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for SFI_PILOT" name="createInvoiceNumber uses the SITI Agri invoice number creator for SFI_PILOT" time="0">
259
289
  </testcase>
260
- <testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for LUMP_SUMS" name="createInvoiceNumber uses the SITI Agri invoice number creator for LUMP_SUMS" time="0.001">
290
+ <testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for LUMP_SUMS" name="createInvoiceNumber uses the SITI Agri invoice number creator for LUMP_SUMS" time="0">
261
291
  </testcase>
262
292
  <testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for CS" name="createInvoiceNumber uses the SITI Agri invoice number creator for CS" time="0">
263
293
  </testcase>
@@ -265,23 +295,23 @@
265
295
  </testcase>
266
296
  <testcase classname="createInvoiceNumber uses the SITI Agri invoice number creator for SFI23" name="createInvoiceNumber uses the SITI Agri invoice number creator for SFI23" time="0">
267
297
  </testcase>
268
- <testcase classname="createInvoiceNumber uses the ES invoice number creator" name="createInvoiceNumber uses the ES invoice number creator" time="0.001">
298
+ <testcase classname="createInvoiceNumber uses the ES invoice number creator" name="createInvoiceNumber uses the ES invoice number creator" time="0">
269
299
  </testcase>
270
- <testcase classname="createInvoiceNumber uses the IMPS invoice number creator" name="createInvoiceNumber uses the IMPS invoice number creator" time="0.001">
300
+ <testcase classname="createInvoiceNumber uses the IMPS invoice number creator" name="createInvoiceNumber uses the IMPS invoice number creator" time="0">
271
301
  </testcase>
272
302
  <testcase classname="createInvoiceNumber uses the default invoice number creator for an unmapped scheme" name="createInvoiceNumber uses the default invoice number creator for an unmapped scheme" time="0">
273
303
  </testcase>
274
- <testcase classname="createInvoiceNumber returns null when the payment request is invalid" name="createInvoiceNumber returns null when the payment request is invalid" time="0">
304
+ <testcase classname="createInvoiceNumber returns null when the payment request is invalid" name="createInvoiceNumber returns null when the payment request is invalid" time="0.001">
275
305
  </testcase>
276
306
  </testsuite>
277
- <testsuite name="getSchemes" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.035" tests="18">
278
- <testcase classname="getSchemes returns all schemes with their IDs and names" name="getSchemes returns all schemes with their IDs and names" time="0.002">
307
+ <testsuite name="getSchemes" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.038" tests="18">
308
+ <testcase classname="getSchemes returns all schemes with their IDs and names" name="getSchemes returns all schemes with their IDs and names" time="0.001">
279
309
  </testcase>
280
310
  <testcase classname="getSchemes returns the correct details for SFI" name="getSchemes returns the correct details for SFI" time="0">
281
311
  </testcase>
282
312
  <testcase classname="getSchemes returns the correct details for SFI_PILOT" name="getSchemes returns the correct details for SFI_PILOT" time="0">
283
313
  </testcase>
284
- <testcase classname="getSchemes returns the correct details for LUMP_SUMS" name="getSchemes returns the correct details for LUMP_SUMS" time="0.001">
314
+ <testcase classname="getSchemes returns the correct details for LUMP_SUMS" name="getSchemes returns the correct details for LUMP_SUMS" time="0">
285
315
  </testcase>
286
316
  <testcase classname="getSchemes returns the correct details for VET_VISITS" name="getSchemes returns the correct details for VET_VISITS" time="0">
287
317
  </testcase>
@@ -289,65 +319,73 @@
289
319
  </testcase>
290
320
  <testcase classname="getSchemes returns the correct details for BPS" name="getSchemes returns the correct details for BPS" time="0">
291
321
  </testcase>
292
- <testcase classname="getSchemes returns the correct details for MANUAL" name="getSchemes returns the correct details for MANUAL" time="0">
322
+ <testcase classname="getSchemes returns the correct details for MANUAL" name="getSchemes returns the correct details for MANUAL" time="0.001">
293
323
  </testcase>
294
324
  <testcase classname="getSchemes returns the correct details for ES" name="getSchemes returns the correct details for ES" time="0">
295
325
  </testcase>
296
326
  <testcase classname="getSchemes returns the correct details for FC" name="getSchemes returns the correct details for FC" time="0">
297
327
  </testcase>
298
- <testcase classname="getSchemes returns the correct details for IMPS" name="getSchemes returns the correct details for IMPS" time="0.001">
328
+ <testcase classname="getSchemes returns the correct details for IMPS" name="getSchemes returns the correct details for IMPS" time="0">
299
329
  </testcase>
300
- <testcase classname="getSchemes returns the correct details for SFI23" name="getSchemes returns the correct details for SFI23" time="0">
330
+ <testcase classname="getSchemes returns the correct details for SFI23" name="getSchemes returns the correct details for SFI23" time="0.001">
301
331
  </testcase>
302
- <testcase classname="getSchemes returns the correct details for DELINKED" name="getSchemes returns the correct details for DELINKED" time="0.001">
332
+ <testcase classname="getSchemes returns the correct details for DELINKED" name="getSchemes returns the correct details for DELINKED" time="0">
303
333
  </testcase>
304
- <testcase classname="getSchemes returns the correct details for SFI_EXPANDED" name="getSchemes returns the correct details for SFI_EXPANDED" time="0">
334
+ <testcase classname="getSchemes returns the correct details for SFI_EXPANDED" name="getSchemes returns the correct details for SFI_EXPANDED" time="0.001">
305
335
  </testcase>
306
- <testcase classname="getSchemes returns the correct details for COHT_REVENUE" name="getSchemes returns the correct details for COHT_REVENUE" time="0.001">
336
+ <testcase classname="getSchemes returns the correct details for COHT_REVENUE" name="getSchemes returns the correct details for COHT_REVENUE" time="0">
307
337
  </testcase>
308
- <testcase classname="getSchemes returns the correct details for COHT_CAPITAL" name="getSchemes returns the correct details for COHT_CAPITAL" time="0">
338
+ <testcase classname="getSchemes returns the correct details for COHT_CAPITAL" name="getSchemes returns the correct details for COHT_CAPITAL" time="0.001">
309
339
  </testcase>
310
- <testcase classname="getSchemes returns the correct details for FPTT" name="getSchemes returns the correct details for FPTT" time="0.001">
340
+ <testcase classname="getSchemes returns the correct details for FPTT" name="getSchemes returns the correct details for FPTT" time="0">
311
341
  </testcase>
312
- <testcase classname="getSchemes returns the correct details for WMP" name="getSchemes returns the correct details for WMP" time="0">
342
+ <testcase classname="getSchemes returns the correct details for WMP" name="getSchemes returns the correct details for WMP" time="0.001">
313
343
  </testcase>
314
344
  </testsuite>
315
- <testsuite name="SFI FRPS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.04" tests="10">
316
- <testcase classname="SFI FRPS account code map contains the complete expected map" name="SFI FRPS account code map contains the complete expected map" time="0.001">
345
+ <testsuite name="createSplitInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.021" tests="18">
346
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI" name="createSplitInvoiceNumber uses the correct invoice format for SFI" time="0.001">
317
347
  </testcase>
318
- <testcase classname="SFI FRPS account code map contains default mapping 0" name="SFI FRPS account code map contains default mapping 0" time="0">
348
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI_PILOT" name="createSplitInvoiceNumber uses the correct invoice format for SFI_PILOT" time="0">
319
349
  </testcase>
320
- <testcase classname="SFI FRPS account code map contains default mapping 1" name="SFI FRPS account code map contains default mapping 1" time="0">
350
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for LUMP_SUMS" name="createSplitInvoiceNumber uses the correct invoice format for LUMP_SUMS" time="0.001">
321
351
  </testcase>
322
- <testcase classname="SFI FRPS account code map contains default mapping 2" name="SFI FRPS account code map contains default mapping 2" time="0.001">
352
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for VET_VISITS" name="createSplitInvoiceNumber uses the correct invoice format for VET_VISITS" time="0">
323
353
  </testcase>
324
- <testcase classname="SFI FRPS account code map contains default mapping 3" name="SFI FRPS account code map contains default mapping 3" time="0">
354
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for CS" name="createSplitInvoiceNumber uses the correct invoice format for CS" time="0">
325
355
  </testcase>
326
- <testcase classname="SFI FRPS account code map contains default mapping 4" name="SFI FRPS account code map contains default mapping 4" time="0">
356
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for BPS" name="createSplitInvoiceNumber uses the correct invoice format for BPS" time="0">
327
357
  </testcase>
328
- <testcase classname="SFI FRPS account code map contains default mapping 5" name="SFI FRPS account code map contains default mapping 5" time="0.001">
358
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for MANUAL" name="createSplitInvoiceNumber uses the correct invoice format for MANUAL" time="0">
329
359
  </testcase>
330
- <testcase classname="SFI FRPS account code map contains default mapping 6" name="SFI FRPS account code map contains default mapping 6" time="0">
360
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for ES" name="createSplitInvoiceNumber uses the correct invoice format for ES" time="0">
331
361
  </testcase>
332
- <testcase classname="SFI FRPS account code map contains default mapping 7" name="SFI FRPS account code map contains default mapping 7" time="0">
362
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for FC" name="createSplitInvoiceNumber uses the correct invoice format for FC" time="0">
333
363
  </testcase>
334
- <testcase classname="SFI FRPS account code map contains the P02 mapping" name="SFI FRPS account code map contains the P02 mapping" time="0">
364
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for IMPS" name="createSplitInvoiceNumber uses the correct invoice format for IMPS" time="0">
335
365
  </testcase>
336
- </testsuite>
337
- <testsuite name="createSitiAgriInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.024" tests="3">
338
- <testcase classname="createSitiAgriInvoiceNumber creates a SITI Agri invoice number" name="createSitiAgriInvoiceNumber creates a SITI Agri invoice number" time="0.001">
366
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI23" name="createSplitInvoiceNumber uses the correct invoice format for SFI23" time="0.001">
339
367
  </testcase>
340
- <testcase classname="createSitiAgriInvoiceNumber returns null when the invoice number is too short" name="createSitiAgriInvoiceNumber returns null when the invoice number is too short" time="0">
368
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for DELINKED" name="createSplitInvoiceNumber uses the correct invoice format for DELINKED" time="0">
341
369
  </testcase>
342
- <testcase classname="createSitiAgriInvoiceNumber returns null when required values are missing" name="createSitiAgriInvoiceNumber returns null when required values are missing" time="0">
370
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI_EXPANDED" name="createSplitInvoiceNumber uses the correct invoice format for SFI_EXPANDED" time="0">
371
+ </testcase>
372
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for COHT_REVENUE" name="createSplitInvoiceNumber uses the correct invoice format for COHT_REVENUE" time="0">
373
+ </testcase>
374
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for COHT_CAPITAL" name="createSplitInvoiceNumber uses the correct invoice format for COHT_CAPITAL" time="0">
375
+ </testcase>
376
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for FPTT" name="createSplitInvoiceNumber uses the correct invoice format for FPTT" time="0">
377
+ </testcase>
378
+ <testcase classname="createSplitInvoiceNumber uses the correct invoice format for WMP" name="createSplitInvoiceNumber uses the correct invoice format for WMP" time="0">
379
+ </testcase>
380
+ <testcase classname="createSplitInvoiceNumber uses the default format for an unknown schemeId" name="createSplitInvoiceNumber uses the default format for an unknown schemeId" time="0">
343
381
  </testcase>
344
382
  </testsuite>
345
- <testsuite name="schemeProvidesAccountingValues" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.028" tests="18">
383
+ <testsuite name="schemeProvidesAccountingValues" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.022" tests="18">
346
384
  <testcase classname="schemeProvidesAccountingValues returns the expected result for SFI" name="schemeProvidesAccountingValues returns the expected result for SFI" time="0.001">
347
385
  </testcase>
348
386
  <testcase classname="schemeProvidesAccountingValues returns the expected result for SFI_PILOT" name="schemeProvidesAccountingValues returns the expected result for SFI_PILOT" time="0">
349
387
  </testcase>
350
- <testcase classname="schemeProvidesAccountingValues returns the expected result for LUMP_SUMS" name="schemeProvidesAccountingValues returns the expected result for LUMP_SUMS" time="0.001">
388
+ <testcase classname="schemeProvidesAccountingValues returns the expected result for LUMP_SUMS" name="schemeProvidesAccountingValues returns the expected result for LUMP_SUMS" time="0">
351
389
  </testcase>
352
390
  <testcase classname="schemeProvidesAccountingValues returns the expected result for VET_VISITS" name="schemeProvidesAccountingValues returns the expected result for VET_VISITS" time="0">
353
391
  </testcase>
@@ -359,7 +397,7 @@
359
397
  </testcase>
360
398
  <testcase classname="schemeProvidesAccountingValues returns the expected result for ES" name="schemeProvidesAccountingValues returns the expected result for ES" time="0">
361
399
  </testcase>
362
- <testcase classname="schemeProvidesAccountingValues returns the expected result for FC" name="schemeProvidesAccountingValues returns the expected result for FC" time="0.001">
400
+ <testcase classname="schemeProvidesAccountingValues returns the expected result for FC" name="schemeProvidesAccountingValues returns the expected result for FC" time="0">
363
401
  </testcase>
364
402
  <testcase classname="schemeProvidesAccountingValues returns the expected result for IMPS" name="schemeProvidesAccountingValues returns the expected result for IMPS" time="0">
365
403
  </testcase>
@@ -375,97 +413,87 @@
375
413
  </testcase>
376
414
  <testcase classname="schemeProvidesAccountingValues returns the expected result for FPTT" name="schemeProvidesAccountingValues returns the expected result for FPTT" time="0">
377
415
  </testcase>
378
- <testcase classname="schemeProvidesAccountingValues returns the expected result for WMP" name="schemeProvidesAccountingValues returns the expected result for WMP" time="0.001">
416
+ <testcase classname="schemeProvidesAccountingValues returns the expected result for WMP" name="schemeProvidesAccountingValues returns the expected result for WMP" time="0">
379
417
  </testcase>
380
418
  <testcase classname="schemeProvidesAccountingValues returns false for an unknown schemeId" name="schemeProvidesAccountingValues returns false for an unknown schemeId" time="0">
381
419
  </testcase>
382
420
  </testsuite>
383
- <testsuite name="BPS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:48" time="0.05" tests="28">
384
- <testcase classname="BPS account code map contains all expected line codes" name="BPS account code map contains all expected line codes" time="0.002">
385
- </testcase>
386
- <testcase classname="BPS account code map returns the correct account codes for G00" name="BPS account code map returns the correct account codes for G00" time="0.001">
387
- </testcase>
388
- <testcase classname="BPS account code map returns the correct account codes for P01" name="BPS account code map returns the correct account codes for P01" time="0">
389
- </testcase>
390
- <testcase classname="BPS account code map returns the correct account codes for P02" name="BPS account code map returns the correct account codes for P02" time="0.001">
391
- </testcase>
392
- <testcase classname="BPS account code map returns the correct account codes for P03" name="BPS account code map returns the correct account codes for P03" time="0.001">
393
- </testcase>
394
- <testcase classname="BPS account code map returns the correct account codes for P04" name="BPS account code map returns the correct account codes for P04" time="0">
395
- </testcase>
396
- <testcase classname="BPS account code map returns the correct account codes for P05" name="BPS account code map returns the correct account codes for P05" time="0">
421
+ <testsuite name="getSchemeNameFromSchemeId" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.018" tests="4">
422
+ <testcase classname="getSchemeNameFromSchemeId returns the source system for a matching scheme ID" name="getSchemeNameFromSchemeId returns the source system for a matching scheme ID" time="0">
397
423
  </testcase>
398
- <testcase classname="BPS account code map returns the correct account codes for P06" name="BPS account code map returns the correct account codes for P06" time="0">
424
+ <testcase classname="getSchemeNameFromSchemeId returns undefined when the scheme ID is not found" name="getSchemeNameFromSchemeId returns undefined when the scheme ID is not found" time="0">
399
425
  </testcase>
400
- <testcase classname="BPS account code map returns the correct account codes for P07" name="BPS account code map returns the correct account codes for P07" time="0">
426
+ <testcase classname="getSchemeNameFromSchemeId returns undefined when no schemes are available" name="getSchemeNameFromSchemeId returns undefined when no schemes are available" time="0">
401
427
  </testcase>
402
- <testcase classname="BPS account code map returns the correct account codes for P08" name="BPS account code map returns the correct account codes for P08" time="0">
428
+ <testcase classname="getSchemeNameFromSchemeId gets schemes before searching for the source system" name="getSchemeNameFromSchemeId gets schemes before searching for the source system" time="0.001">
403
429
  </testcase>
404
- <testcase classname="BPS account code map returns the correct account codes for P09" name="BPS account code map returns the correct account codes for P09" time="0">
430
+ </testsuite>
431
+ <testsuite name="get scheme batch properties" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.023" tests="18">
432
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 1" name="get scheme batch properties returns the batch properties for schemeId 1" time="0.001">
405
433
  </testcase>
406
- <testcase classname="BPS account code map returns the correct account codes for P10" name="BPS account code map returns the correct account codes for P10" time="0">
434
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 2" name="get scheme batch properties returns the batch properties for schemeId 2" time="0.001">
407
435
  </testcase>
408
- <testcase classname="BPS account code map returns the correct account codes for P11" name="BPS account code map returns the correct account codes for P11" time="0">
436
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 3" name="get scheme batch properties returns the batch properties for schemeId 3" time="0">
409
437
  </testcase>
410
- <testcase classname="BPS account code map returns the correct account codes for P12" name="BPS account code map returns the correct account codes for P12" time="0">
438
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 4" name="get scheme batch properties returns the batch properties for schemeId 4" time="0">
411
439
  </testcase>
412
- <testcase classname="BPS account code map returns the correct account codes for P13" name="BPS account code map returns the correct account codes for P13" time="0">
440
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 5" name="get scheme batch properties returns the batch properties for schemeId 5" time="0">
413
441
  </testcase>
414
- <testcase classname="BPS account code map returns the correct account codes for P14" name="BPS account code map returns the correct account codes for P14" time="0">
442
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 6" name="get scheme batch properties returns the batch properties for schemeId 6" time="0">
415
443
  </testcase>
416
- <testcase classname="BPS account code map returns the correct account codes for P15" name="BPS account code map returns the correct account codes for P15" time="0.001">
444
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 8" name="get scheme batch properties returns the batch properties for schemeId 8" time="0">
417
445
  </testcase>
418
- <testcase classname="BPS account code map returns the correct account codes for P16" name="BPS account code map returns the correct account codes for P16" time="0">
446
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 9" name="get scheme batch properties returns the batch properties for schemeId 9" time="0">
419
447
  </testcase>
420
- <testcase classname="BPS account code map returns the correct account codes for P17" name="BPS account code map returns the correct account codes for P17" time="0.001">
448
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 10" name="get scheme batch properties returns the batch properties for schemeId 10" time="0">
421
449
  </testcase>
422
- <testcase classname="BPS account code map returns the correct account codes for P18" name="BPS account code map returns the correct account codes for P18" time="0">
450
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 11" name="get scheme batch properties returns the batch properties for schemeId 11" time="0">
423
451
  </testcase>
424
- <testcase classname="BPS account code map returns the correct account codes for P19" name="BPS account code map returns the correct account codes for P19" time="0.001">
452
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 12" name="get scheme batch properties returns the batch properties for schemeId 12" time="0">
425
453
  </testcase>
426
- <testcase classname="BPS account code map returns the correct account codes for P20" name="BPS account code map returns the correct account codes for P20" time="0">
454
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 13" name="get scheme batch properties returns the batch properties for schemeId 13" time="0">
427
455
  </testcase>
428
- <testcase classname="BPS account code map returns the correct account codes for P21" name="BPS account code map returns the correct account codes for P21" time="0.001">
456
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 14" name="get scheme batch properties returns the batch properties for schemeId 14" time="0">
429
457
  </testcase>
430
- <testcase classname="BPS account code map returns the correct account codes for R00" name="BPS account code map returns the correct account codes for R00" time="0">
458
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 15" name="get scheme batch properties returns the batch properties for schemeId 15" time="0">
431
459
  </testcase>
432
- <testcase classname="BPS account code map returns the correct account codes for X01" name="BPS account code map returns the correct account codes for X01" time="0">
460
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 16" name="get scheme batch properties returns the batch properties for schemeId 16" time="0">
433
461
  </testcase>
434
- <testcase classname="BPS account code map returns the correct account codes for X02" name="BPS account code map returns the correct account codes for X02" time="0">
462
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 17" name="get scheme batch properties returns the batch properties for schemeId 17" time="0">
435
463
  </testcase>
436
- <testcase classname="BPS account code map returns the correct account codes for X03" name="BPS account code map returns the correct account codes for X03" time="0.001">
464
+ <testcase classname="get scheme batch properties returns the batch properties for schemeId 18" name="get scheme batch properties returns the batch properties for schemeId 18" time="0">
437
465
  </testcase>
438
- <testcase classname="BPS account code map returns the correct account codes for X04" name="BPS account code map returns the correct account codes for X04" time="0">
466
+ <testcase classname="get scheme batch properties returns undefined for an unknown schemeId" name="get scheme batch properties returns undefined for an unknown schemeId" time="0">
439
467
  </testcase>
440
468
  </testsuite>
441
- <testsuite name="createIMPSInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.032" tests="3">
442
- <testcase classname="createIMPSInvoiceNumber adds the trader to an invoice number" name="createIMPSInvoiceNumber adds the trader to an invoice number" time="0.002">
469
+ <testsuite name="createStandardSchemeInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="3">
470
+ <testcase classname="createStandardSchemeInvoiceNumber creates a standard scheme invoice number" name="createStandardSchemeInvoiceNumber creates a standard scheme invoice number" time="0.001">
443
471
  </testcase>
444
- <testcase classname="createIMPSInvoiceNumber returns the invoice number when it already contains the trader" name="createIMPSInvoiceNumber returns the invoice number when it already contains the trader" time="0.001">
472
+ <testcase classname="createStandardSchemeInvoiceNumber returns null when the invoice number is too short" name="createStandardSchemeInvoiceNumber returns null when the invoice number is too short" time="0.001">
445
473
  </testcase>
446
- <testcase classname="createIMPSInvoiceNumber returns null when the invoice number has no separator" name="createIMPSInvoiceNumber returns null when the invoice number has no separator" time="0">
474
+ <testcase classname="createStandardSchemeInvoiceNumber returns null when required values are missing" name="createStandardSchemeInvoiceNumber returns null when required values are missing" time="0">
447
475
  </testcase>
448
476
  </testsuite>
449
- <testsuite name="schemeDoesNotRequirePPAs" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.031" tests="18">
450
- <testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI" name="schemeDoesNotRequirePPAs returns the expected result for SFI" time="0.001">
477
+ <testsuite name="schemeDoesNotRequirePPAs" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.019" tests="18">
478
+ <testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI" name="schemeDoesNotRequirePPAs returns the expected result for SFI" time="0">
451
479
  </testcase>
452
- <testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI_PILOT" name="schemeDoesNotRequirePPAs returns the expected result for SFI_PILOT" time="0">
480
+ <testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI_PILOT" name="schemeDoesNotRequirePPAs returns the expected result for SFI_PILOT" time="0.001">
453
481
  </testcase>
454
- <testcase classname="schemeDoesNotRequirePPAs returns the expected result for LUMP_SUMS" name="schemeDoesNotRequirePPAs returns the expected result for LUMP_SUMS" time="0.001">
482
+ <testcase classname="schemeDoesNotRequirePPAs returns the expected result for LUMP_SUMS" name="schemeDoesNotRequirePPAs returns the expected result for LUMP_SUMS" time="0">
455
483
  </testcase>
456
484
  <testcase classname="schemeDoesNotRequirePPAs returns the expected result for VET_VISITS" name="schemeDoesNotRequirePPAs returns the expected result for VET_VISITS" time="0">
457
485
  </testcase>
458
486
  <testcase classname="schemeDoesNotRequirePPAs returns the expected result for CS" name="schemeDoesNotRequirePPAs returns the expected result for CS" time="0">
459
487
  </testcase>
460
- <testcase classname="schemeDoesNotRequirePPAs returns the expected result for BPS" name="schemeDoesNotRequirePPAs returns the expected result for BPS" time="0">
488
+ <testcase classname="schemeDoesNotRequirePPAs returns the expected result for BPS" name="schemeDoesNotRequirePPAs returns the expected result for BPS" time="0.001">
461
489
  </testcase>
462
- <testcase classname="schemeDoesNotRequirePPAs returns the expected result for MANUAL" name="schemeDoesNotRequirePPAs returns the expected result for MANUAL" time="0.001">
490
+ <testcase classname="schemeDoesNotRequirePPAs returns the expected result for MANUAL" name="schemeDoesNotRequirePPAs returns the expected result for MANUAL" time="0">
463
491
  </testcase>
464
492
  <testcase classname="schemeDoesNotRequirePPAs returns the expected result for ES" name="schemeDoesNotRequirePPAs returns the expected result for ES" time="0">
465
493
  </testcase>
466
494
  <testcase classname="schemeDoesNotRequirePPAs returns the expected result for FC" name="schemeDoesNotRequirePPAs returns the expected result for FC" time="0">
467
495
  </testcase>
468
- <testcase classname="schemeDoesNotRequirePPAs returns the expected result for IMPS" name="schemeDoesNotRequirePPAs returns the expected result for IMPS" time="0.001">
496
+ <testcase classname="schemeDoesNotRequirePPAs returns the expected result for IMPS" name="schemeDoesNotRequirePPAs returns the expected result for IMPS" time="0">
469
497
  </testcase>
470
498
  <testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI23" name="schemeDoesNotRequirePPAs returns the expected result for SFI23" time="0">
471
499
  </testcase>
@@ -473,7 +501,7 @@
473
501
  </testcase>
474
502
  <testcase classname="schemeDoesNotRequirePPAs returns the expected result for SFI_EXPANDED" name="schemeDoesNotRequirePPAs returns the expected result for SFI_EXPANDED" time="0">
475
503
  </testcase>
476
- <testcase classname="schemeDoesNotRequirePPAs returns the expected result for COHT_REVENUE" name="schemeDoesNotRequirePPAs returns the expected result for COHT_REVENUE" time="0">
504
+ <testcase classname="schemeDoesNotRequirePPAs returns the expected result for COHT_REVENUE" name="schemeDoesNotRequirePPAs returns the expected result for COHT_REVENUE" time="0.001">
477
505
  </testcase>
478
506
  <testcase classname="schemeDoesNotRequirePPAs returns the expected result for COHT_CAPITAL" name="schemeDoesNotRequirePPAs returns the expected result for COHT_CAPITAL" time="0">
479
507
  </testcase>
@@ -484,106 +512,108 @@
484
512
  <testcase classname="schemeDoesNotRequirePPAs returns false for an unknown schemeId" name="schemeDoesNotRequirePPAs returns false for an unknown schemeId" time="0">
485
513
  </testcase>
486
514
  </testsuite>
487
- <testsuite name="createSplitInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.035" tests="18">
488
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI" name="createSplitInvoiceNumber uses the correct invoice format for SFI" time="0">
489
- </testcase>
490
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI_PILOT" name="createSplitInvoiceNumber uses the correct invoice format for SFI_PILOT" time="0">
515
+ <testsuite name="getSourceSystemFromSchemeId" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.016" tests="4">
516
+ <testcase classname="getSourceSystemFromSchemeId returns the source system for a matching scheme ID" name="getSourceSystemFromSchemeId returns the source system for a matching scheme ID" time="0">
491
517
  </testcase>
492
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for LUMP_SUMS" name="createSplitInvoiceNumber uses the correct invoice format for LUMP_SUMS" time="0">
493
- </testcase>
494
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for VET_VISITS" name="createSplitInvoiceNumber uses the correct invoice format for VET_VISITS" time="0">
495
- </testcase>
496
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for CS" name="createSplitInvoiceNumber uses the correct invoice format for CS" time="0">
518
+ <testcase classname="getSourceSystemFromSchemeId returns undefined when the scheme ID is not found" name="getSourceSystemFromSchemeId returns undefined when the scheme ID is not found" time="0">
497
519
  </testcase>
498
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for BPS" name="createSplitInvoiceNumber uses the correct invoice format for BPS" time="0">
520
+ <testcase classname="getSourceSystemFromSchemeId returns undefined when no schemes are available" name="getSourceSystemFromSchemeId returns undefined when no schemes are available" time="0">
499
521
  </testcase>
500
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for MANUAL" name="createSplitInvoiceNumber uses the correct invoice format for MANUAL" time="0">
522
+ <testcase classname="getSourceSystemFromSchemeId gets schemes before searching for the source system" name="getSourceSystemFromSchemeId gets schemes before searching for the source system" time="0.001">
501
523
  </testcase>
502
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for ES" name="createSplitInvoiceNumber uses the correct invoice format for ES" time="0.001">
524
+ </testsuite>
525
+ <testsuite name="SFI FRPS account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.018" tests="10">
526
+ <testcase classname="SFI FRPS account code map contains the complete expected map" name="SFI FRPS account code map contains the complete expected map" time="0">
503
527
  </testcase>
504
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for FC" name="createSplitInvoiceNumber uses the correct invoice format for FC" time="0">
528
+ <testcase classname="SFI FRPS account code map contains default mapping 0" name="SFI FRPS account code map contains default mapping 0" time="0">
505
529
  </testcase>
506
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for IMPS" name="createSplitInvoiceNumber uses the correct invoice format for IMPS" time="0">
530
+ <testcase classname="SFI FRPS account code map contains default mapping 1" name="SFI FRPS account code map contains default mapping 1" time="0">
507
531
  </testcase>
508
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI23" name="createSplitInvoiceNumber uses the correct invoice format for SFI23" time="0">
532
+ <testcase classname="SFI FRPS account code map contains default mapping 2" name="SFI FRPS account code map contains default mapping 2" time="0">
509
533
  </testcase>
510
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for DELINKED" name="createSplitInvoiceNumber uses the correct invoice format for DELINKED" time="0">
534
+ <testcase classname="SFI FRPS account code map contains default mapping 3" name="SFI FRPS account code map contains default mapping 3" time="0.001">
511
535
  </testcase>
512
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for SFI_EXPANDED" name="createSplitInvoiceNumber uses the correct invoice format for SFI_EXPANDED" time="0">
536
+ <testcase classname="SFI FRPS account code map contains default mapping 4" name="SFI FRPS account code map contains default mapping 4" time="0">
513
537
  </testcase>
514
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for COHT_REVENUE" name="createSplitInvoiceNumber uses the correct invoice format for COHT_REVENUE" time="0.001">
538
+ <testcase classname="SFI FRPS account code map contains default mapping 5" name="SFI FRPS account code map contains default mapping 5" time="0">
515
539
  </testcase>
516
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for COHT_CAPITAL" name="createSplitInvoiceNumber uses the correct invoice format for COHT_CAPITAL" time="0">
540
+ <testcase classname="SFI FRPS account code map contains default mapping 6" name="SFI FRPS account code map contains default mapping 6" time="0">
517
541
  </testcase>
518
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for FPTT" name="createSplitInvoiceNumber uses the correct invoice format for FPTT" time="0.001">
542
+ <testcase classname="SFI FRPS account code map contains default mapping 7" name="SFI FRPS account code map contains default mapping 7" time="0">
519
543
  </testcase>
520
- <testcase classname="createSplitInvoiceNumber uses the correct invoice format for WMP" name="createSplitInvoiceNumber uses the correct invoice format for WMP" time="0">
544
+ <testcase classname="SFI FRPS account code map contains the P02 mapping" name="SFI FRPS account code map contains the P02 mapping" time="0">
521
545
  </testcase>
522
- <testcase classname="createSplitInvoiceNumber uses the default format for an unknown schemeId" name="createSplitInvoiceNumber uses the default format for an unknown schemeId" time="0">
546
+ </testsuite>
547
+ <testsuite name="Lump Sums account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="1">
548
+ <testcase classname="Lump Sums account code map contains the expected mapping" name="Lump Sums account code map contains the expected mapping" time="0.001">
523
549
  </testcase>
524
550
  </testsuite>
525
- <testsuite name="Vet Visits account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.023" tests="1">
551
+ <testsuite name="Vet Visits account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="1">
526
552
  <testcase classname="Vet Visits account code map contains the expected mapping" name="Vet Visits account code map contains the expected mapping" time="0.001">
527
553
  </testcase>
528
554
  </testsuite>
529
- <testsuite name="createSitiAgriInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.024" tests="3">
555
+ <testsuite name="createSitiAgriInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.014" tests="3">
530
556
  <testcase classname="createSitiAgriInvoiceNumber inserts splitId 1234567890123 into invoice number A" name="createSitiAgriInvoiceNumber inserts splitId 1234567890123 into invoice number A" time="0.001">
531
557
  </testcase>
532
- <testcase classname="createSitiAgriInvoiceNumber inserts splitId ABCDEFGH12345 into invoice number 9" name="createSitiAgriInvoiceNumber inserts splitId ABCDEFGH12345 into invoice number 9" time="0.001">
558
+ <testcase classname="createSitiAgriInvoiceNumber inserts splitId ABCDEFGH12345 into invoice number 9" name="createSitiAgriInvoiceNumber inserts splitId ABCDEFGH12345 into invoice number 9" time="0">
533
559
  </testcase>
534
560
  <testcase classname="createSitiAgriInvoiceNumber inserts splitId SITIAGRI000123 into invoice number X" name="createSitiAgriInvoiceNumber inserts splitId SITIAGRI000123 into invoice number X" time="0">
535
561
  </testcase>
536
562
  </testsuite>
537
- <testsuite name="COHTC account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.024" tests="4">
538
- <testcase classname="COHTC account code map returns the correct account codes for G00" name="COHTC account code map returns the correct account codes for G00" time="0.001">
563
+ <testsuite name="Delinked account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.016" tests="1">
564
+ <testcase classname="Delinked account code map contains the expected account code mappings" name="Delinked account code map contains the expected account code mappings" time="0.001">
539
565
  </testcase>
540
- <testcase classname="COHTC account code map returns the correct account codes for P02" name="COHTC account code map returns the correct account codes for P02" time="0">
566
+ </testsuite>
567
+ <testsuite name="default account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.014" tests="1">
568
+ <testcase classname="default account code map contains the expected account code mappings" name="default account code map contains the expected account code mappings" time="0.002">
541
569
  </testcase>
542
- <testcase classname="COHTC account code map returns the correct account codes for P24" name="COHTC account code map returns the correct account codes for P24" time="0">
570
+ </testsuite>
571
+ <testsuite name="createSitiAgriInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.016" tests="3">
572
+ <testcase classname="createSitiAgriInvoiceNumber creates a SITI Agri invoice number" name="createSitiAgriInvoiceNumber creates a SITI Agri invoice number" time="0">
543
573
  </testcase>
544
- <testcase classname="COHTC account code map contains exactly the expected mappings" name="COHTC account code map contains exactly the expected mappings" time="0.001">
574
+ <testcase classname="createSitiAgriInvoiceNumber returns null when the invoice number is too short" name="createSitiAgriInvoiceNumber returns null when the invoice number is too short" time="0">
545
575
  </testcase>
546
- </testsuite>
547
- <testsuite name="createESInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.022" tests="1">
548
- <testcase classname="createESInvoiceNumber creates an ES invoice number" name="createESInvoiceNumber creates an ES invoice number" time="0.001">
576
+ <testcase classname="createSitiAgriInvoiceNumber returns null when required values are missing" name="createSitiAgriInvoiceNumber returns null when required values are missing" time="0">
549
577
  </testcase>
550
578
  </testsuite>
551
- <testsuite name="createStandardSchemeInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.025" tests="3">
552
- <testcase classname="createStandardSchemeInvoiceNumber creates a standard scheme invoice number" name="createStandardSchemeInvoiceNumber creates a standard scheme invoice number" time="0.001">
579
+ <testsuite name="createIMPSInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.017" tests="3">
580
+ <testcase classname="createIMPSInvoiceNumber adds the trader to an invoice number" name="createIMPSInvoiceNumber adds the trader to an invoice number" time="0.001">
553
581
  </testcase>
554
- <testcase classname="createStandardSchemeInvoiceNumber returns null when the invoice number is too short" name="createStandardSchemeInvoiceNumber returns null when the invoice number is too short" time="0">
582
+ <testcase classname="createIMPSInvoiceNumber returns the invoice number when it already contains the trader" name="createIMPSInvoiceNumber returns the invoice number when it already contains the trader" time="0">
555
583
  </testcase>
556
- <testcase classname="createStandardSchemeInvoiceNumber returns null when required values are missing" name="createStandardSchemeInvoiceNumber returns null when required values are missing" time="0.001">
584
+ <testcase classname="createIMPSInvoiceNumber returns null when the invoice number has no separator" name="createIMPSInvoiceNumber returns null when the invoice number has no separator" time="0">
557
585
  </testcase>
558
586
  </testsuite>
559
- <testsuite name="createDefaultInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.021" tests="2">
560
- <testcase classname="createDefaultInvoiceNumber creates an invoice number with a padded payment request number" name="createDefaultInvoiceNumber creates an invoice number with a padded payment request number" time="0.001">
587
+ <testsuite name="COHTC account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.016" tests="4">
588
+ <testcase classname="COHTC account code map returns the correct account codes for G00" name="COHTC account code map returns the correct account codes for G00" time="0.001">
561
589
  </testcase>
562
- <testcase classname="createDefaultInvoiceNumber returns null when required values are missing" name="createDefaultInvoiceNumber returns null when required values are missing" time="0.001">
590
+ <testcase classname="COHTC account code map returns the correct account codes for P02" name="COHTC account code map returns the correct account codes for P02" time="0">
563
591
  </testcase>
564
- </testsuite>
565
- <testsuite name="useInvoiceNumberAsIs" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.021" tests="1">
566
- <testcase classname="useInvoiceNumberAsIs returns the invoice number unchanged" name="useInvoiceNumberAsIs returns the invoice number unchanged" time="0.001">
592
+ <testcase classname="COHTC account code map returns the correct account codes for P24" name="COHTC account code map returns the correct account codes for P24" time="0.001">
593
+ </testcase>
594
+ <testcase classname="COHTC account code map contains exactly the expected mappings" name="COHTC account code map contains exactly the expected mappings" time="0">
567
595
  </testcase>
568
596
  </testsuite>
569
- <testsuite name="createDefaultInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.024" tests="3">
597
+ <testsuite name="createDefaultInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="3">
570
598
  <testcase classname="createDefaultInvoiceNumber inserts splitId INV1234 into invoice number A" name="createDefaultInvoiceNumber inserts splitId INV1234 into invoice number A" time="0.001">
571
599
  </testcase>
572
- <testcase classname="createDefaultInvoiceNumber inserts splitId 123456789 into invoice number B" name="createDefaultInvoiceNumber inserts splitId 123456789 into invoice number B" time="0.001">
600
+ <testcase classname="createDefaultInvoiceNumber inserts splitId 123456789 into invoice number B" name="createDefaultInvoiceNumber inserts splitId 123456789 into invoice number B" time="0">
573
601
  </testcase>
574
- <testcase classname="createDefaultInvoiceNumber inserts splitId ABC-1234 into invoice number 9" name="createDefaultInvoiceNumber inserts splitId ABC-1234 into invoice number 9" time="0">
602
+ <testcase classname="createDefaultInvoiceNumber inserts splitId ABC-1234 into invoice number 9" name="createDefaultInvoiceNumber inserts splitId ABC-1234 into invoice number 9" time="0.001">
575
603
  </testcase>
576
604
  </testsuite>
577
- <testsuite name="default account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.026" tests="1">
578
- <testcase classname="default account code map contains the expected account code mappings" name="default account code map contains the expected account code mappings" time="0.002">
605
+ <testsuite name="useInvoiceNumberAsIs" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="1">
606
+ <testcase classname="useInvoiceNumberAsIs returns the invoice number unchanged" name="useInvoiceNumberAsIs returns the invoice number unchanged" time="0.001">
579
607
  </testcase>
580
608
  </testsuite>
581
- <testsuite name="Lump Sums account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.023" tests="1">
582
- <testcase classname="Lump Sums account code map contains the expected mapping" name="Lump Sums account code map contains the expected mapping" time="0.002">
609
+ <testsuite name="createDefaultInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.014" tests="2">
610
+ <testcase classname="createDefaultInvoiceNumber creates an invoice number with a padded payment request number" name="createDefaultInvoiceNumber creates an invoice number with a padded payment request number" time="0.001">
611
+ </testcase>
612
+ <testcase classname="createDefaultInvoiceNumber returns null when required values are missing" name="createDefaultInvoiceNumber returns null when required values are missing" time="0">
583
613
  </testcase>
584
614
  </testsuite>
585
- <testsuite name="Delinked account code map" errors="0" failures="0" skipped="0" timestamp="2026-08-26T13:17:49" time="0.022" tests="1">
586
- <testcase classname="Delinked account code map contains the expected account code mappings" name="Delinked account code map contains the expected account code mappings" time="0.002">
615
+ <testsuite name="createESInvoiceNumber" errors="0" failures="0" skipped="0" timestamp="2026-08-26T16:45:39" time="0.015" tests="1">
616
+ <testcase classname="createESInvoiceNumber creates an ES invoice number" name="createESInvoiceNumber creates an ES invoice number" time="0">
587
617
  </testcase>
588
618
  </testsuite>
589
619
  </testsuites>