From f607161e3baa0f707cd88d0471e21eae913107c8 Mon Sep 17 00:00:00 2001 From: Greg Akins Date: Thu, 28 Sep 2023 14:44:59 -0400 Subject: [PATCH] MAT-6058: Cleaning up imports --- .../measure/services/GroupServiceTest.java | 33 ++++++++++++++----- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/src/test/java/cms/gov/madie/measure/services/GroupServiceTest.java b/src/test/java/cms/gov/madie/measure/services/GroupServiceTest.java index c5b74da6b..20a29d74e 100644 --- a/src/test/java/cms/gov/madie/measure/services/GroupServiceTest.java +++ b/src/test/java/cms/gov/madie/measure/services/GroupServiceTest.java @@ -11,10 +11,11 @@ import static org.mockito.ArgumentMatchers.any; import static org.mockito.ArgumentMatchers.anyString; import static org.mockito.ArgumentMatchers.eq; -import static org.mockito.Mockito.*; - -import cms.gov.madie.measure.exceptions.InvalidDraftStatusException; -import gov.cms.madie.models.measure.*; +import static org.mockito.Mockito.doReturn; +import static org.mockito.Mockito.doThrow; +import static org.mockito.Mockito.times; +import static org.mockito.Mockito.verify; +import static org.mockito.Mockito.when; import java.time.Instant; import java.util.ArrayList; @@ -22,9 +23,6 @@ import java.util.List; import java.util.Optional; -import cms.gov.madie.measure.utils.MeasureUtil; -import gov.cms.madie.models.common.ModelType; -import gov.cms.madie.models.common.Version; import org.apache.commons.lang3.StringUtils; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -33,20 +31,39 @@ import org.mockito.InjectMocks; import org.mockito.Mock; import org.mockito.junit.jupiter.MockitoExtension; -import org.springframework.beans.factory.annotation.Autowired; import org.springframework.data.domain.Page; import org.springframework.data.domain.PageImpl; import org.springframework.data.domain.PageRequest; import com.fasterxml.jackson.core.JsonProcessingException; +import cms.gov.madie.measure.exceptions.InvalidDraftStatusException; import cms.gov.madie.measure.exceptions.InvalidIdException; import cms.gov.madie.measure.exceptions.ResourceNotFoundException; import cms.gov.madie.measure.exceptions.UnauthorizedException; import cms.gov.madie.measure.repositories.MeasureRepository; +import cms.gov.madie.measure.utils.MeasureUtil; import cms.gov.madie.measure.utils.ResourceUtil; import cms.gov.madie.measure.validations.CqlDefinitionReturnTypeService; import cms.gov.madie.measure.validations.CqlObservationFunctionService; +import gov.cms.madie.models.common.ModelType; +import gov.cms.madie.models.common.Version; +import gov.cms.madie.models.measure.AggregateMethodType; +import gov.cms.madie.models.measure.Group; +import gov.cms.madie.models.measure.Measure; +import gov.cms.madie.models.measure.MeasureGroupTypes; +import gov.cms.madie.models.measure.MeasureMetaData; +import gov.cms.madie.models.measure.MeasureObservation; +import gov.cms.madie.models.measure.MeasureScoring; +import gov.cms.madie.models.measure.MeasureSet; +import gov.cms.madie.models.measure.Population; +import gov.cms.madie.models.measure.PopulationType; +import gov.cms.madie.models.measure.QdmMeasure; +import gov.cms.madie.models.measure.Stratification; +import gov.cms.madie.models.measure.TestCase; +import gov.cms.madie.models.measure.TestCaseGroupPopulation; +import gov.cms.madie.models.measure.TestCasePopulationValue; +import gov.cms.madie.models.measure.TestCaseStratificationValue; @ExtendWith(MockitoExtension.class) public class GroupServiceTest implements ResourceUtil {