Search in sources :

Example 1 with ApiClient

use of io.nem.symbol.sdk.openapi.okhttp_gson.invoker.ApiClient in project nem2-sdk-java by nemtech.

the class AbstractOkHttpRespositoryTest method setUp.

@BeforeEach
public void setUp() {
    Gson gson = JsonHelperGson.creatGson(false);
    ApiClient client = new ApiClient();
    client.getJSON().setGson(gson);
    apiClientMock = Mockito.spy(client);
    jsonHelper = new JsonHelperGson(gson);
}
Also used : Gson(com.google.gson.Gson) ApiClient(io.nem.symbol.sdk.openapi.okhttp_gson.invoker.ApiClient) BeforeEach(org.junit.jupiter.api.BeforeEach)

Aggregations

Gson (com.google.gson.Gson)1 ApiClient (io.nem.symbol.sdk.openapi.okhttp_gson.invoker.ApiClient)1 BeforeEach (org.junit.jupiter.api.BeforeEach)1