From 0998ee999b216dcc71ff44a04819e42fff06b1c7 Mon Sep 17 00:00:00 2001 From: Kai Siren Date: Mon, 15 Jul 2024 13:58:55 -0700 Subject: [PATCH] FhirUtilsTest --- .../test/java/gov/cms/ab2d/worker/util/FhirUtilsTest.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/worker/src/test/java/gov/cms/ab2d/worker/util/FhirUtilsTest.java b/worker/src/test/java/gov/cms/ab2d/worker/util/FhirUtilsTest.java index bcd3db6b5e..753fd4c33e 100644 --- a/worker/src/test/java/gov/cms/ab2d/worker/util/FhirUtilsTest.java +++ b/worker/src/test/java/gov/cms/ab2d/worker/util/FhirUtilsTest.java @@ -142,6 +142,13 @@ void testAddMbiIdsToEobs() { } } + @Test + void testNullInputs() { + assertDoesNotThrow(() -> { + FhirUtils.addMbiIdsToEobs(null, null, null); + }); + } + public static Identifiers createIdentifier(long beneficiaryId, String currentMbi, String... historicMbis) { return new Identifiers(beneficiaryId, currentMbi, new LinkedHashSet<>(Set.of(historicMbis))); }