@Test public void nothing_registered_each_registry_info_contains_no_target() { for (TargetType type: TargetType.values()) { TargetRegistryInfo info = registryToTest.createRegistryInfo( type); assertFalse(info.containsAtLeastOneTarget()); } }
public TargetRegistryInfo createRegistryInfo(TargetType type) { return new TargetRegistryInfo(type); }
TargetRegistry { public TargetRegistryInfo createRegistryInfo(TargetType type) { return new TargetRegistryInfo(type); } }
TargetRegistry { public TargetRegistryInfo createRegistryInfo(TargetType type) { return new TargetRegistryInfo(type); } TargetRegistry(); }
TargetRegistry { public TargetRegistryInfo createRegistryInfo(TargetType type) { return new TargetRegistryInfo(type); } TargetRegistry(); void register(Target target); TargetRegistryInfo createRegistryInfo(TargetType type); List<Target> getTargetsFor(TargetType type); }
TargetRegistry { public TargetRegistryInfo createRegistryInfo(TargetType type) { return new TargetRegistryInfo(type); } TargetRegistry(); void register(Target target); TargetRegistryInfo createRegistryInfo(TargetType type); List<Target> getTargetsFor(TargetType type);  }