public void onTurnEnded(TurnEndedEvent event) {
    super.onTurnEnded(event);
    final String out = event.getTurnSnapshot().getRobots()[1].getOutputStreamSnapshot();

    if (out.contains("Scanned!!!")) {
      messagedScanned = true;
    }
  }
 @Test
 public void run() {
   super.run();
 }