mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 10:58:51 +00:00
All without Readme and pumlid
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* Created by Alexis on 02-May-17.
|
||||
*/
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.junit.Assert.assertFalse;
|
||||
|
||||
public class ThiefTest {
|
||||
@Test
|
||||
public void testGuard() {
|
||||
Thief thief = new Thief();
|
||||
assertFalse(thief instanceof Permission);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user