summaryrefslogtreecommitdiff
path: root/junit/01-simple/src/test/java/com/example
diff options
context:
space:
mode:
Diffstat (limited to 'junit/01-simple/src/test/java/com/example')
-rw-r--r--junit/01-simple/src/test/java/com/example/myapp/AppTest.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/junit/01-simple/src/test/java/com/example/myapp/AppTest.java b/junit/01-simple/src/test/java/com/example/myapp/AppTest.java
new file mode 100644
index 0000000..49a35aa
--- /dev/null
+++ b/junit/01-simple/src/test/java/com/example/myapp/AppTest.java
@@ -0,0 +1,19 @@
+package com.example.myapp;
+
+import static org.junit.jupiter.api.Assertions.assertTrue;
+
+import org.junit.jupiter.api.Test;
+
+/**
+ * Unit test for simple App.
+ */
+public class AppTest {
+
+ /**
+ * Rigorous Test :-)
+ */
+ @Test
+ public void shouldAnswerWithTrue() {
+ assertTrue(true);
+ }
+}