@Override
 protected Contact getContactForEnterRangeEvent(Sensor sensor, Mover target) {
   Contact contact = contacts.get(target);
   if (contact == null) {
     contact = new SensorContact((Mover) target);
     contacts.put(target, contact);
   }
   System.out.println(
       "TestMediator providing contact "
           + contact.toString()
           + " for target "
           + target.toString());
   return contact;
 }
 @Override
 protected void targetIsEnteringSensorRange(Sensor sensor, Mover target) {
   System.out.println(target.toString() + " is entering range of " + sensor.toString());
   System.out.println("TestMediator does no special processing before scheduling detections");
 }