DiamondWhoosh implements RoboPainter, FireListener { @Override public void bulletFired(FiredBullet bullet) { _moveDataManager.addFiredBullet(bullet); } DiamondWhoosh(Diamond robot, OutputStream out);   DiamondWhoosh(Diamond robot, BattleField battleField,
      Collection<RoboGraphic> renderables, OutputStream out);   DiamondWhoosh(Diamond robot, BattleField battleField,
      MovementPredictor predictor, Collection<RoboGraphic> renderables,
      OutputStream out);  DiamondWhoosh(Diamond robot, MoveDataManager moveDataManager,
      MeleeMover meleeMover, SurfMover surfMover, BattleField battleField,
      Collection<RoboGraphic> renderables, OutputStream out); void initRound(Diamond robot); void execute(); void onScannedRobot(ScannedRobotEvent e); void onRobotDeath(RobotDeathEvent e); void onHitByBullet(HitByBulletEvent e); void onBulletHitBullet(BulletHitBulletEvent e); void onBulletHit(BulletHitEvent e); void onWin(WinEvent e); void onDeath(DeathEvent e); void onPaint(Graphics2D g); @Override void bulletFired(FiredBullet bullet); void paintOn(); void paintOff(); void robocodePaintOn(); void robocodePaintOff(); String paintLabel(); boolean paintStatus();  }
@Test public void testBulletFired() { DiamondWhoosh whoosh = newDiamondWhoosh(); FiredBullet diaBullet = mock(FiredBullet.class); whoosh.bulletFired(diaBullet); verify(moveDataManager).addFiredBullet(diaBullet); }