@Test public void sergeantReady() throws Exception { final Sergeant sergeant = new Sergeant(new SergeantUnit("SergeantUnitTest")); sergeant.sergeantReady(); }
@Override public void sergeantReady() { logger.info("[Sergeant] " + unit.getName() + " is ready! "); }
Sergeant implements SergeantExtension { @Override public void sergeantReady() { logger.info("[Sergeant] " + unit.getName() + " is ready! "); } }
Sergeant implements SergeantExtension { @Override public void sergeantReady() { logger.info("[Sergeant] " + unit.getName() + " is ready! "); } Sergeant(SergeantUnit sergeantUnit); }
Sergeant implements SergeantExtension { @Override public void sergeantReady() { logger.info("[Sergeant] " + unit.getName() + " is ready! "); } Sergeant(SergeantUnit sergeantUnit); @Override void sergeantReady(); }
Sergeant implements SergeantExtension { @Override public void sergeantReady() { logger.info("[Sergeant] " + unit.getName() + " is ready! "); } Sergeant(SergeantUnit sergeantUnit); @Override void sergeantReady();  }