All without Readme and pumlid

This commit is contained in:
Aleksandar Dudukovic
2017-05-03 17:50:35 +02:00
parent 8530d01e10
commit 20062faae6
8 changed files with 147 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/**
* Created by Alexis on 01-May-17.
*/
import org.junit.Test;
/**
* Application test
*/
public class AppTest {
@Test
public void test() {
String[] args = {};
App.main(args);
}
}

View File

@ -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));
}
}

View File

@ -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);
}
}