Commit 923ddea5 authored by Komal Makkar's avatar Komal Makkar
Browse files

UT changes

parent 71600b76
......@@ -22,6 +22,7 @@ import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Spy;
import org.mockito.junit.MockitoJUnitRunner;
import org.opengroup.osdu.core.common.logging.JaxRsDpsLog;
import org.opengroup.osdu.core.common.model.http.AppException;
import org.opengroup.osdu.notification.provider.azure.pubsub.EventGridHandshakeHandler;
import org.opengroup.osdu.notification.provider.azure.pubsub.EventGridRequestBodyExtractor;
......@@ -37,6 +38,9 @@ public class EventGridHandshakeHandlerTest {
@Mock
EventGridRequestBodyExtractor eventGridRequestBodyExtractor;
@Mock
JaxRsDpsLog logger;
@InjectMocks
@Spy
private EventGridHandshakeHandler sut;
......
......@@ -23,6 +23,7 @@ import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.Spy;
import org.mockito.junit.MockitoJUnitRunner;
import org.opengroup.osdu.core.common.logging.JaxRsDpsLog;
import org.opengroup.osdu.core.common.model.http.AppException;
import org.opengroup.osdu.core.common.model.search.IdToken;
import org.opengroup.osdu.core.common.model.tenant.TenantInfo;
......@@ -63,6 +64,9 @@ public class ServiceAccountClientImplTest {
@Mock
private JwtCache tenantJwtCacheMock;
@Mock
private JaxRsDpsLog logger;
@InjectMocks
@Spy
private ServiceAccountJwtAzureClientImpl sut;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment