mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 06:58:41 +00:00
Test done
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package concreteextensions;
|
||||
|
||||
import org.junit.Test;
|
||||
import units.SergeantUnit;
|
||||
|
||||
import static org.junit.Assert.*;
|
||||
|
||||
/**
|
||||
* Created by Srdjan on 03-May-17.
|
||||
*/
|
||||
public class SergeantTest {
|
||||
@Test
|
||||
public void sergeantReady() throws Exception {
|
||||
final Sergeant sergeant = new Sergeant(new SergeantUnit("SergeantUnitTest"));
|
||||
|
||||
sergeant.sergeantReady();
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user