Correct assertion in test for member with private constructor
See gh-32639
This commit is contained in:
@@ -94,7 +94,7 @@ class DefaultBindConstructorProviderTests {
|
||||
void getBindConstructorWhenIsMemberTypeWithPrivateConstructorReturnsNull() {
|
||||
Constructor<?> constructor = this.provider.getBindConstructor(MemberTypeWithPrivateConstructor.Member.class,
|
||||
false);
|
||||
assertThat(constructor).isNotNull();
|
||||
assertThat(constructor).isNull();
|
||||
}
|
||||
|
||||
static class OnlyDefaultConstructor {
|
||||
|
||||
Reference in New Issue
Block a user