mirror of
https://github.com/pcvolkmer/mv64e-onkostar-data.git
synced 2025-09-14 00:12:52 +00:00
feat: require radio button checked to extract medication recommendations
This commit is contained in:
@@ -46,7 +46,8 @@ class TherapieplanDataMapperTest {
|
||||
"id", "1",
|
||||
"patient_id", "42",
|
||||
"wirkstoffe_json", "[{\"code\":\"\",\"name\":\"PARP-Inhibierung\",\"system\":\"UNREGISTERED\"}]",
|
||||
"protokollauszug", "Das ist ein Protokollauszug"
|
||||
"protokollauszug", "Das ist ein Protokollauszug",
|
||||
"mit_einzelempfehlung", true
|
||||
);
|
||||
|
||||
doAnswer(invocationOnMock -> {
|
||||
@@ -54,6 +55,11 @@ class TherapieplanDataMapperTest {
|
||||
return testData.get(columnName);
|
||||
}).when(resultSet).getString(anyString());
|
||||
|
||||
doAnswer(invocationOnMock -> {
|
||||
var columnName = invocationOnMock.getArgument(0, String.class);
|
||||
return testData.get(columnName);
|
||||
}).when(resultSet).isTrue(anyString());
|
||||
|
||||
doAnswer(invocationOnMock -> resultSet)
|
||||
.when(therapieplanCatalogue)
|
||||
.getById(anyInt());
|
||||
|
Reference in New Issue
Block a user