Merge branch '7.0.x'

This commit is contained in:
Sam Brannen
2026-04-06 16:56:26 +02:00
5 changed files with 28 additions and 3 deletions
@@ -65,7 +65,7 @@ class MethodAssertTests {
}
@Test
void haDeclaringClassWithWrongClass() {
void hasDeclaringClassWithWrongClass() {
Method method = ReflectionUtils.findMethod(TestData.class, "counter");
assertThatExceptionOfType(AssertionError.class)
.isThrownBy(() -> assertThat(method).hasDeclaringClass(Method.class))