Skip to content
Snippets Groups Projects
Commit 27ec52c9 authored by Jan Zickermann's avatar Jan Zickermann
Browse files

KOP-2139 Heal XtaClientTest

parent 8014e9ff
No related branches found
No related tags found
No related merge requests found
...@@ -79,6 +79,7 @@ class XtaClientTest { ...@@ -79,6 +79,7 @@ class XtaClientTest {
@BeforeEach @BeforeEach
@SneakyThrows @SneakyThrows
void mock() { void mock() {
doReturn(SELF_IDENTIFIER).when(client).deriveIdentifier(SELF_IDENTIFIER_VALUE);
when(service.getStatusList(SELF_IDENTIFIER, MAX_LIST_ITEMS)).thenReturn(xtaMessageMetaDataListing); when(service.getStatusList(SELF_IDENTIFIER, MAX_LIST_ITEMS)).thenReturn(xtaMessageMetaDataListing);
when(config.getMaxListItems()).thenReturn(MAX_LIST_ITEMS); when(config.getMaxListItems()).thenReturn(MAX_LIST_ITEMS);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment