From d4717d4e36c9ef04692a8234d81aa72b119d2a0e Mon Sep 17 00:00:00 2001 From: lashinie Date: Sat, 2 Nov 2024 08:11:37 +0530 Subject: [PATCH] remove unused imports --- .../impl/DefaultProvisioningHandlerTest.java | 20 +------------------ 1 file changed, 1 insertion(+), 19 deletions(-) diff --git a/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/test/java/org/wso2/carbon/identity/application/authentication/framework/handler/provisioning/impl/DefaultProvisioningHandlerTest.java b/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/test/java/org/wso2/carbon/identity/application/authentication/framework/handler/provisioning/impl/DefaultProvisioningHandlerTest.java index 2608a8e87452..2cb69657329f 100644 --- a/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/test/java/org/wso2/carbon/identity/application/authentication/framework/handler/provisioning/impl/DefaultProvisioningHandlerTest.java +++ b/components/authentication-framework/org.wso2.carbon.identity.application.authentication.framework/src/test/java/org/wso2/carbon/identity/application/authentication/framework/handler/provisioning/impl/DefaultProvisioningHandlerTest.java @@ -16,8 +16,6 @@ package org.wso2.carbon.identity.application.authentication.framework.handler.provisioning.impl; -import org.mockito.ArgumentCaptor; -import org.mockito.Mock; import org.mockito.MockedStatic; import org.testng.annotations.AfterMethod; import org.testng.annotations.BeforeMethod; @@ -28,32 +26,16 @@ import org.wso2.carbon.identity.application.authentication.framework.util.FrameworkConstants; import org.wso2.carbon.identity.application.authentication.framework.util.FrameworkUtils; import org.wso2.carbon.identity.application.authentication.framwork.test.utils.CommonTestUtils; -import org.wso2.carbon.identity.application.common.util.IdentityApplicationConstants; -import org.wso2.carbon.user.core.UserRealm; -import org.wso2.carbon.user.core.UserStoreManager; -import org.wso2.carbon.user.core.service.RealmService; -import java.util.Arrays; import java.util.HashMap; -import java.util.List; import java.util.Map; -import static org.mockito.ArgumentMatchers.anyString; -import static org.mockito.Mockito.*; +import static org.mockito.Mockito.mockStatic; import static org.testng.Assert.assertEquals; import static org.testng.Assert.assertNotNull; public class DefaultProvisioningHandlerTest { - @Mock - private RealmService mockRealmService; - - @Mock - private UserRealm mockUserRealm; - - @Mock - private UserStoreManager mockUserStoreManager; - private DefaultProvisioningHandler provisioningHandler; @BeforeMethod