refactor: add lombok to mix module

This commit is contained in:
Hemant Gupta
2022-10-15 13:22:59 +02:00
committed by Arnold Gálovics
parent ad2f2862cb
commit 3d332f0840
12 changed files with 74 additions and 123 deletions
@@ -57,7 +57,7 @@ public class MixXbrlBuilderStepDefinitions implements En {
(String start, String end, String currency, String taxonomy, String sample) -> {
readNamespaceService = mock(NamespaceReadPlatformServiceImpl.class);
lenient().when(this.readNamespaceService.retrieveNamespaceByPrefix(ArgumentMatchers.anyString()))
.thenReturn(new NamespaceData(1L, "mockedprefix", "mockedurl"));
.thenReturn(new NamespaceData().setId(1L).setPrefix("mockedprefix").setUrl("mockedurl"));
this.start = Date.valueOf(start);
this.end = Date.valueOf(end);