final String typeName = type.name();
Iterator<ObservationAgency> agencies = available();
while (agencies.hasNext()) {
ObservationAgency agency = agencies.next();
if (agency.canProvideSpyFor(type)) {
return agency;
}
}
throw new IllegalStateException("No CI Observation Module for " + typeName);