@Test public void testCacheTheConnectionRules() { List<CanConnect> rules = tested.getConnectionRules(); assertEquals(1, rules.size()); assertEquals(canConnect1To2, rules.get(0)); }
public List<CanConnect> getConnectionRules() { return connectionRules; }
DomainLookupsCache { public List<CanConnect> getConnectionRules() { return connectionRules; } }
DomainLookupsCache { public List<CanConnect> getConnectionRules() { return connectionRules; } DomainLookupsCache(final DefinitionManager definitionManager,
                       final DefinitionsCacheRegistry definitionsRegistry,
                       final String defSetId); }
DomainLookupsCache { public List<CanConnect> getConnectionRules() { return connectionRules; } DomainLookupsCache(final DefinitionManager definitionManager,
                       final DefinitionsCacheRegistry definitionsRegistry,
                       final String defSetId); Set<String> getDefinitions(final String label); void clear(); String getDefinitionSetId(); List<CanConnect> getConnectionRules(); RuleSet getRuleSet(); }
DomainLookupsCache { public List<CanConnect> getConnectionRules() { return connectionRules; } DomainLookupsCache(final DefinitionManager definitionManager,
                       final DefinitionsCacheRegistry definitionsRegistry,
                       final String defSetId); Set<String> getDefinitions(final String label); void clear(); String getDefinitionSetId(); List<CanConnect> getConnectionRules(); RuleSet getRuleSet();  }