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