summaryrefslogtreecommitdiff
path: root/plugins/IntentionPowerPak/test/com/siyeh/ipp/junit/create_assert/AnonymousClassJUnit4_after.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/IntentionPowerPak/test/com/siyeh/ipp/junit/create_assert/AnonymousClassJUnit4_after.java')
-rw-r--r--plugins/IntentionPowerPak/test/com/siyeh/ipp/junit/create_assert/AnonymousClassJUnit4_after.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/plugins/IntentionPowerPak/test/com/siyeh/ipp/junit/create_assert/AnonymousClassJUnit4_after.java b/plugins/IntentionPowerPak/test/com/siyeh/ipp/junit/create_assert/AnonymousClassJUnit4_after.java
new file mode 100644
index 000000000000..787d0e6d6115
--- /dev/null
+++ b/plugins/IntentionPowerPak/test/com/siyeh/ipp/junit/create_assert/AnonymousClassJUnit4_after.java
@@ -0,0 +1,13 @@
+import org.junit.Assert;
+
+public class AnonymousClassJUnit4 {
+
+ @org.junit.Test
+ public void test2BiggerThan1() {
+ new Object() {
+ void foo() {
+ Assert.assertTrue(2 > 1);
+ }
+ }
+ }
+} \ No newline at end of file