We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97e10a5 commit 9d36590Copy full SHA for 9d36590
spring-test/src/test/java/org/springframework/test/util/MethodAssertTests.java
@@ -65,7 +65,7 @@ void hasDeclaringClass() {
65
}
66
67
@Test
68
- void haDeclaringClassWithWrongClass() {
+ void hasDeclaringClassWithWrongClass() {
69
Method method = ReflectionUtils.findMethod(TestData.class, "counter");
70
assertThatExceptionOfType(AssertionError.class)
71
.isThrownBy(() -> assertThat(method).hasDeclaringClass(Method.class))
0 commit comments