From 6f83dfcdd9a98a300e58b024cb468b3a6d1e5735 Mon Sep 17 00:00:00 2001 From: Sashir Estela Date: Thu, 23 Jan 2025 15:42:12 +0000 Subject: [PATCH] Improve dependency between JsonUtil and Configurator --- .../sashirestela/cleverclient/http/HttpProcessorTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/test/java/io/github/sashirestela/cleverclient/http/HttpProcessorTest.java b/src/test/java/io/github/sashirestela/cleverclient/http/HttpProcessorTest.java index 606295b..59a3ce1 100644 --- a/src/test/java/io/github/sashirestela/cleverclient/http/HttpProcessorTest.java +++ b/src/test/java/io/github/sashirestela/cleverclient/http/HttpProcessorTest.java @@ -1,7 +1,9 @@ package io.github.sashirestela.cleverclient.http; import io.github.sashirestela.cleverclient.support.CleverClientException; +import io.github.sashirestela.cleverclient.test.TestSupport; import io.github.sashirestela.cleverclient.test.TestSupport.SyncType; +import org.junit.jupiter.api.BeforeAll; import org.junit.jupiter.api.Test; import java.io.ByteArrayInputStream; @@ -51,6 +53,11 @@ interface HttpProcessorTest { void testShutdown(); + @BeforeAll + static void setup() { + TestSupport.setupConfigurator(); + } + @Test default void shouldThownExceptionWhenCallingMethodReturnTypeIsUnsupported() { var service = getHttpProcessor().createProxy(ITest.AsyncService.class);