We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c92617a commit 49c7546Copy full SHA for 49c7546
module/spring-boot-jms/build.gradle
@@ -48,3 +48,7 @@ dependencies {
48
49
testRuntimeOnly("ch.qos.logback:logback-classic")
50
}
51
+
52
+tasks.named("compileTestJava") {
53
+ options.nullability.checking = "tests"
54
+}
module/spring-boot-jms/src/test/java/org/springframework/boot/jms/ConnectionFactoryUnwrapperTests.java
@@ -137,7 +137,9 @@ void unwrapWithoutJmsPoolOnClasspath() {
137
138
139
private ConnectionFactory unwrap(ConnectionFactory connectionFactory) {
140
- return ConnectionFactoryUnwrapper.unwrap(connectionFactory);
+ ConnectionFactory unwrapped = ConnectionFactoryUnwrapper.unwrap(connectionFactory);
141
+ assertThat(unwrapped).isNotNull();
142
+ return unwrapped;
143
144
145
0 commit comments