
package com.example.project;

import static org.junit.gen5.api.Assertions.assertEquals;

import org.junit.gen5.api.Name;
import org.junit.gen5.api.Test;
import org.junit.gen5.api.TestName;

class FirstTest {

	@Test
	@Name("My 1st JUnit 5 test! 😎")
	void myTest(@TestName String testName) {
		assertEquals(2, 1 + 1, "1 + 1 should equal 2");
		assertEquals("My 1st JUnit 5 test! 😎", testName, () -> "testName is injected correctly");
	}

}

@@ -83,16 +83,52 @@
 quals;%0A%0A
+import org.junit.gen5.api.Disabled;%0A
 import o
@@ -151,16 +151,16 @@
 i.Name;%0A
-
 import o
@@ -287,16 +287,21 @@
 %09void my
+First
 Test(@Te
@@ -376,16 +376,16 @@
 al 2%22);%0A
-
 %09%09assert
@@ -472,10 +472,100 @@
 %22);%0A%09%7D%0A%0A
+%09@Test%0A%09@Disabled%0A%09void mySecondTest() %7B%0A%09%09assertEquals(2, 1, %222 is not equal to 1%22);%0A%09%7D%0A%0A
 %7D%0A

Introduce @Disabled failing test