PixRetrieveBuilder { protected List<String> stripCommunityIdsPrefix(List<String> targetCommunities) { if (NullChecker.isNotNullish(targetCommunities)) { List<String> targetCommunityIds = new ArrayList<>(); for (String homeCommunityId : targetCommunities) { targetCommunityIds.add(HomeCommunityMap.formatHomeCommunityId(homeCommunityId)); } return targetCommunityIds; } return null; } PixRetrieveBuilder();  PixRetrieveBuilder(AssigningAuthorityHomeCommunityMappingHelper aaMappingHelper); PRPAIN201309UV02 createPixRetrieve(
        RetrievePatientCorrelationsRequestType retrievePatientCorrelationsRequest); static final String ControlActProcessCode; }
@Test public void testcreatePixRetrieveWithTargetCommunityPrefix() { PixRetrieveBuilder builder = new PixRetrieveBuilder(); List<String> homeCommIds; homeCommIds = builder.stripCommunityIdsPrefix(null); assertEquals(homeCommIds, null); homeCommIds = builder.stripCommunityIdsPrefix(new ArrayList<String>()); assertEquals(homeCommIds, null); homeCommIds = builder.stripCommunityIdsPrefix(getHomeCommunitiesIdsWithPrefix()); assertEquals(homeCommIds.get(0), "1.1"); assertEquals(homeCommIds.get(1), "2.2"); }