@@ -113,7 +113,7 @@ void instancePerMethod() {
113
113
String beforeAllCallbackKey = beforeAllCallbackKey (testClass );
114
114
String afterAllCallbackKey = afterAllCallbackKey (testClass );
115
115
String testTemplateKey = testTemplateKey (testClass , "singletonTest" );
116
- String testExecutionConditionKey1 = executionConditionKey (testClass , testsInvoked .get ( 0 ));
116
+ String testExecutionConditionKey1 = executionConditionKey (testClass , testsInvoked .getFirst ( ));
117
117
String beforeEachCallbackKey1 = beforeEachCallbackKey (testClass , testsInvoked .get (0 ));
118
118
String afterEachCallbackKey1 = afterEachCallbackKey (testClass , testsInvoked .get (0 ));
119
119
String testExecutionConditionKey2 = executionConditionKey (testClass , testsInvoked .get (1 ));
@@ -195,7 +195,7 @@ private void instancePerClass(Class<?> testClass, Map.Entry<Class<?>, Integer>[]
195
195
String preDestroyCallbackTestInstanceKey = preDestroyCallbackTestInstanceKey (testClass );
196
196
String beforeAllCallbackKey = beforeAllCallbackKey (testClass );
197
197
String afterAllCallbackKey = afterAllCallbackKey (testClass );
198
- String testExecutionConditionKey1 = executionConditionKey (testClass , testsInvoked .get ( 0 ));
198
+ String testExecutionConditionKey1 = executionConditionKey (testClass , testsInvoked .getFirst ( ));
199
199
String beforeEachCallbackKey1 = beforeEachCallbackKey (testClass , testsInvoked .get (0 ));
200
200
String afterEachCallbackKey1 = afterEachCallbackKey (testClass , testsInvoked .get (0 ));
201
201
String testExecutionConditionKey2 = executionConditionKey (testClass , testsInvoked .get (1 ));
@@ -274,7 +274,7 @@ void instancePerMethodWithNestedTestClass() {
274
274
String afterEachCallbackKey = afterEachCallbackKey (testClass , "outerTest" );
275
275
String nestedBeforeAllCallbackKey = beforeAllCallbackKey (nestedTestClass );
276
276
String nestedAfterAllCallbackKey = afterAllCallbackKey (nestedTestClass );
277
- String nestedExecutionConditionKey1 = executionConditionKey (nestedTestClass , testsInvoked .get ( 0 ));
277
+ String nestedExecutionConditionKey1 = executionConditionKey (nestedTestClass , testsInvoked .getFirst ( ));
278
278
String nestedBeforeEachCallbackKey1 = beforeEachCallbackKey (nestedTestClass , testsInvoked .get (0 ));
279
279
String nestedAfterEachCallbackKey1 = afterEachCallbackKey (nestedTestClass , testsInvoked .get (0 ));
280
280
String nestedExecutionConditionKey2 = executionConditionKey (nestedTestClass , testsInvoked .get (1 ));
@@ -396,7 +396,7 @@ void instancePerClassWithNestedTestClass() {
396
396
String afterEachCallbackKey = afterEachCallbackKey (testClass , "outerTest" );
397
397
String nestedBeforeAllCallbackKey = beforeAllCallbackKey (nestedTestClass );
398
398
String nestedAfterAllCallbackKey = afterAllCallbackKey (nestedTestClass );
399
- String nestedExecutionConditionKey1 = executionConditionKey (nestedTestClass , testsInvoked .get ( 0 ));
399
+ String nestedExecutionConditionKey1 = executionConditionKey (nestedTestClass , testsInvoked .getFirst ( ));
400
400
String nestedBeforeEachCallbackKey1 = beforeEachCallbackKey (nestedTestClass , testsInvoked .get (0 ));
401
401
String nestedAfterEachCallbackKey1 = afterEachCallbackKey (nestedTestClass , testsInvoked .get (0 ));
402
402
String nestedExecutionConditionKey2 = executionConditionKey (nestedTestClass , testsInvoked .get (1 ));
@@ -516,7 +516,7 @@ void instancePerMethodOnOuterTestClassWithInstancePerClassOnNestedTestClass() {
516
516
String afterEachCallbackKey = afterEachCallbackKey (testClass , "outerTest" );
517
517
String nestedBeforeAllCallbackKey = beforeAllCallbackKey (nestedTestClass );
518
518
String nestedAfterAllCallbackKey = afterAllCallbackKey (nestedTestClass );
519
- String nestedExecutionConditionKey1 = executionConditionKey (nestedTestClass , testsInvoked .get ( 0 ));
519
+ String nestedExecutionConditionKey1 = executionConditionKey (nestedTestClass , testsInvoked .getFirst ( ));
520
520
String nestedBeforeEachCallbackKey1 = beforeEachCallbackKey (nestedTestClass , testsInvoked .get (0 ));
521
521
String nestedAfterEachCallbackKey1 = afterEachCallbackKey (nestedTestClass , testsInvoked .get (0 ));
522
522
String nestedExecutionConditionKey2 = executionConditionKey (nestedTestClass , testsInvoked .get (1 ));
0 commit comments