Enable SpringJUnit5 Checkstyle rule

See gh-36496
Closes gh-36496
This commit is contained in:
Sam Brannen
2026-03-18 18:38:43 +01:00
parent 4c14abf0cd
commit 1256307c83
249 changed files with 424 additions and 361 deletions
@@ -109,7 +109,7 @@ class InstrumentedMethodTests {
.onInstance(String.class).returnValue(String.class.getDeclaredConstructors()).build();
@BeforeEach
public void setup() throws Exception {
void setup() throws Exception {
this.stringGetConstructor = RecordedInvocation.of(InstrumentedMethod.CLASS_GETCONSTRUCTOR)
.onInstance(String.class).withArgument(new Class[0]).returnValue(String.class.getConstructor()).build();
this.stringGetDeclaredConstructor = RecordedInvocation.of(InstrumentedMethod.CLASS_GETDECLAREDCONSTRUCTOR)