mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 08:59:01 +00:00
Test done
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package concreteextensions;
|
||||
|
||||
import org.junit.Test;
|
||||
import units.SoldierUnit;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 03-May-17.
|
||||
*/
|
||||
public class SoldierTest {
|
||||
@Test
|
||||
public void soldierReady() throws Exception {
|
||||
final Soldier soldier = new Soldier(new SoldierUnit("SoldierUnitTest"));
|
||||
|
||||
soldier.soldierReady();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user