diff --git a/authentication/authentication-service/src/test/java/io/mosip/authentication/service/kyc/validator/KycAuthRequestValidatorTest.java b/authentication/authentication-service/src/test/java/io/mosip/authentication/service/kyc/validator/KycAuthRequestValidatorTest.java index 48bff6eb27d..f185683b166 100644 --- a/authentication/authentication-service/src/test/java/io/mosip/authentication/service/kyc/validator/KycAuthRequestValidatorTest.java +++ b/authentication/authentication-service/src/test/java/io/mosip/authentication/service/kyc/validator/KycAuthRequestValidatorTest.java @@ -29,6 +29,9 @@ import org.springframework.validation.beanvalidation.SpringValidatorAdapter; import org.springframework.web.context.WebApplicationContext; +import com.fasterxml.jackson.databind.ObjectMapper; + +import io.mosip.authentication.common.service.config.IDAMappingConfig; import io.mosip.authentication.common.service.helper.IdInfoHelper; import io.mosip.authentication.common.service.impl.match.DemoMatchType; import io.mosip.authentication.common.service.integration.MasterDataManager; @@ -39,6 +42,7 @@ import io.mosip.authentication.core.indauth.dto.IdentityInfoDTO; import io.mosip.authentication.core.indauth.dto.EkycAuthRequestDTO; import io.mosip.authentication.core.indauth.dto.RequestDTO; +import io.mosip.authentication.core.spi.indauth.match.IdInfoFetcher; import io.mosip.kernel.logger.logback.appender.RollingFileAppender; import io.mosip.kernel.pinvalidator.impl.PinValidatorImpl; @@ -61,7 +65,8 @@ public class KycAuthRequestValidatorTest { @InjectMocks RollingFileAppender appender; - + + @InjectMocks KycAuthRequestValidator KycAuthRequestValidator; @@ -73,12 +78,21 @@ public class KycAuthRequestValidatorTest { @Mock PinValidatorImpl pinValidator; + + @Mock + private ObjectMapper objectMapper; @Autowired EnvUtil env; @Mock private MasterDataManager masterDataManager; + + @Mock + private IDAMappingConfig idMappingConfig; + + @Mock + private IdInfoFetcher idInfoFetcher; @Before public void before() {