diff --git a/coverage/src/test/java/gov/cms/ab2d/coverage/service/CoverageServiceImplTest.java b/coverage/src/test/java/gov/cms/ab2d/coverage/service/CoverageServiceImplTest.java index e13828d4d..a72fae93b 100644 --- a/coverage/src/test/java/gov/cms/ab2d/coverage/service/CoverageServiceImplTest.java +++ b/coverage/src/test/java/gov/cms/ab2d/coverage/service/CoverageServiceImplTest.java @@ -218,7 +218,7 @@ void getOrCreateInsertsNew() { coveragePeriodRepo.delete(period); assertThrows(EntityNotFoundException.class, - () -> coverageService.getCoveragePeriod(contract1, 12, 2020) + () -> coverageService.getCoveragePeriod(contract1, 12, 2020) ); } @@ -243,10 +243,10 @@ void checkCoveragePeriodStatus() { assertFalse(coverageService.isCoveragePeriodInProgress(period1Jan.getId())); assertThrows( - CoveragePeriodNotFoundException.class, - () -> { - coverageService.isCoveragePeriodInProgress(999999999); - } + CoveragePeriodNotFoundException.class, + () -> { + coverageService.isCoveragePeriodInProgress(999999999); + } ); } @@ -453,7 +453,7 @@ void insertCoverage() { Set identifiers = Set.of(createIdentifier(123L), createIdentifier(456L), createIdentifier(789L)); List originalBeneIds = identifiers.stream().map(Identifiers::getBeneficiaryId) - .collect(toList()); + .collect(toList()); CoverageSearchEvent savedTo = coverageService.insertCoverage(inProgress.getId(), identifiers); @@ -1410,4 +1410,3 @@ private Identifiers createIdentifier(Long suffix) { return new Identifiers(suffix, "mbi-" + suffix, new LinkedHashSet<>()); } } -