Search in sources :

Example 1 with SoldierUnit

use of units.SoldierUnit in project java-design-patterns by iluwatar.

the class SoldierTest method soldierReady.

@Test
public void soldierReady() throws Exception {
    final Soldier soldier = new Soldier(new SoldierUnit("SoldierUnitTest"));
    soldier.soldierReady();
}
Also used : SoldierUnit(units.SoldierUnit) Test(org.junit.jupiter.api.Test)

Aggregations

Test (org.junit.jupiter.api.Test)1 SoldierUnit (units.SoldierUnit)1