FINERACT-1678: Improvements around locking

This commit is contained in:
Adam Saghy
2023-03-31 12:17:04 +02:00
parent 5a18f00e2b
commit e7268997bc
25 changed files with 105 additions and 84 deletions
@@ -21,32 +21,31 @@ Feature: COB Reader
@cob
Scenario Outline: LoanItemReader - run test
Given The LoanItemReader.read method with loanIds <loanIds>, lockedAccounts <lockedAccounts>
Given The LoanItemReader.read method with loanIds <loanIds>
When LoanItemReader.read method executed
Then The LoanItemReader.read result should match
Examples:
|loanIds|lockedAccounts|
|1 | |
|1,2 |3,4 |
|loanIds|
|1 |
|1,2 |
@cob
Scenario Outline: LoanItemReader - run test: null
Given The LoanItemReader.read method with loanIds <loanIds>, lockedAccounts <lockedAccounts>
Given The LoanItemReader.read method with loanIds <loanIds>
When LoanItemReader.read method executed
Then The LoanItemReader.read result null
Examples:
|loanIds|lockedAccounts|
| | |
|loanIds|
| |
@cob
Scenario Outline: LoanItemReader - run test: exception
Given The LoanItemReader.read method with loanIds <loanIds>, lockedAccounts <lockedAccounts>
Given The LoanItemReader.read method with loanIds <loanIds>
Then throw exception LoanItemReader.read method
Examples:
|loanIds|lockedAccounts|
|-1 | |
|1 | 1 |
|0 | |
|loanIds|
|-1 |
|0 |