NATTraversalTechniqueUtil { public Set<NATSituation> getAllPossibleNATSituations() { final Set<NATSituation> result = new HashSet<NATSituation>(); final Set<NATBehavior> client = this.getAllPossibleNATBehaviors(); final Set<NATBehavior> server = this.getAllPossibleNATBehaviors(); for (NATBehavior c : client) { for (NATBehavior s : server) { result.add(new NATSituation(c, s)); } } return Collections.unmodifiableSet(result); } private  NATTraversalTechniqueUtil(); Set<NATSituation> parseNATSituations(final String resourceName); Set<NATSituation> resolveWildcards(final NATSituation withWildcard); Set<NATSituation> getAllPossibleNATSituations(); static NATTraversalTechniqueUtil getInstance();  }
@Test public void testCountAllNATSituations() { final int extectedResult = 625; final int actualResult = this.util.getAllPossibleNATSituations().size(); assertEquals(extectedResult, actualResult); }