mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 14:59:25 +00:00
All without Readme and pumlid
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.hamcrest.CoreMatchers.instanceOf;
|
||||
import static org.junit.Assert.assertThat;
|
||||
|
||||
/**
|
||||
* Created by Alexis on 02-May-17.
|
||||
*/
|
||||
public class GuardTest {
|
||||
|
||||
@Test
|
||||
public void testGuard() {
|
||||
Guard guard = new Guard();
|
||||
assertThat(guard, instanceOf(Permission.class));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user