MainSectionHashBucketMatcherFactory { public static AffOrgMatcher createShortNameMainSectionHashBucketMatcher() { AffOrgHashBucketJoiner mainSectionHashBucketJoiner = createMainSectionAffOrgHashJoiner(new GetOrgShortNameFunction()); AffOrgMatchComputer mainSectionHashMatchComputer = new AffOrgMatchComputer(); mainSectionHashMatchComputer.setAffOrgMatchVoters(createShortNameMainSectionHashBucketMatcherVoters()); return new AffOrgMatcher(mainSectionHashBucketJoiner, mainSectionHashMatchComputer); } private  MainSectionHashBucketMatcherFactory(); static AffOrgMatcher createNameMainSectionHashBucketMatcher(); static ImmutableList<AffOrgMatchVoter> createNameMainSectionHashBucketMatcherVoters(); static AffOrgMatcher createAlternativeNameMainSectionHashBucketMatcher(); static ImmutableList<AffOrgMatchVoter> createAlternativeNameMainSectionHashBucketMatcherVoters(); static AffOrgMatcher createShortNameMainSectionHashBucketMatcher(); static ImmutableList<AffOrgMatchVoter> createShortNameMainSectionHashBucketMatcherVoters();  }
@Test public void createShortNameMainSectionHashBucketMatcher() { AffOrgMatcher matcher = MainSectionHashBucketMatcherFactory.createShortNameMainSectionHashBucketMatcher(); assertMainSectionHashBucketMatcher(matcher, GetOrgShortNameFunction.class); AffOrgMatchComputer computer = getInternalState(matcher, AffOrgMatchComputer.class); List<AffOrgMatchVoter> voters = getInternalState(computer, "affOrgMatchVoters"); assertShortNameMainSectionHashBucketMatcherVoters(voters); }