@Test public void soldierReady() throws Exception { final Soldier soldier = new Soldier(new SoldierUnit("SoldierUnitTest")); soldier.soldierReady(); }
@Override public void soldierReady() { logger.info("[Solider] " + unit.getName() + " is ready!"); }
Soldier implements SoldierExtension { @Override public void soldierReady() { logger.info("[Solider] " + unit.getName() + " is ready!"); } }
Soldier implements SoldierExtension { @Override public void soldierReady() { logger.info("[Solider] " + unit.getName() + " is ready!"); } Soldier(SoldierUnit soldierUnit); }
Soldier implements SoldierExtension { @Override public void soldierReady() { logger.info("[Solider] " + unit.getName() + " is ready!"); } Soldier(SoldierUnit soldierUnit); @Override void soldierReady(); }
Soldier implements SoldierExtension { @Override public void soldierReady() { logger.info("[Solider] " + unit.getName() + " is ready!"); } Soldier(SoldierUnit soldierUnit); @Override void soldierReady();  }