diff --git a/semantik-adapter/src/test/java/de/ozgcloud/eingang/semantik/common/ServiceKontoFactoryTest.java b/semantik-adapter/src/test/java/de/ozgcloud/eingang/semantik/common/ServiceKontoFactoryTest.java index ce057658a29105cf455bb55688799a8e66f66137..c62d3cd37b1d709b2c0e07a5f221733b8a2a03df 100644 --- a/semantik-adapter/src/test/java/de/ozgcloud/eingang/semantik/common/ServiceKontoFactoryTest.java +++ b/semantik-adapter/src/test/java/de/ozgcloud/eingang/semantik/common/ServiceKontoFactoryTest.java @@ -107,8 +107,9 @@ class ServiceKontoFactoryTest { @Nested class TestWithRestResponseName { + @DisplayName("should call buildOsiPostfachV1Address") @Test - void shouldCallBuildAddresses() { + void shouldCallBuildOsiPostfachV1Address() { getPostfachAddresses(); verify(factory).buildOsiPostfachV1Address(any(), anyInt()); @@ -159,8 +160,9 @@ class ServiceKontoFactoryTest { private final FormData formDataWithBadRestResponseName = FormDataUtils.from(FORM_DATA) .put(ServiceKontoFactory.REST_RESPONSE_NAME, List.of(Map.of())).build(); + @DisplayName("should call buildOsiPostfachV1Address") @Test - void shouldCallBuildAddresses() { + void shouldCallBuildOsiPostfachV1Address() { getPostfachAddresses(); verify(factory).buildOsiPostfachV1Address(any(), anyInt());