Skip to content

Commit df149c3

Browse files
committed
style: SpringIntegrationAwsNamespaceHandlerTest isInstanceOf -> instanceOf method naming
1 parent c0cb4f8 commit df149c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

int-aws-support/src/test/java/org/springframework/integration/aws/config/xml/SpringIntegrationAwsNamespaceHandlerTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ void test() {
1515
handler.init();
1616
assertThat(handler)
1717
.extracting("parsers", InstanceOfAssertFactories.MAP)
18-
.hasEntrySatisfying("sqs-outbound-channel-adapter", isInstanceOf(SqsOutboundChannelAdapterParser.class))
19-
.hasEntrySatisfying("sqs-message-driven-channel-adapter", isInstanceOf(SqsMessageDrivenChannelAdapterParser.class))
18+
.hasEntrySatisfying("sqs-outbound-channel-adapter", instanceOf(SqsOutboundChannelAdapterParser.class))
19+
.hasEntrySatisfying("sqs-message-driven-channel-adapter", instanceOf(SqsMessageDrivenChannelAdapterParser.class))
2020
;
2121
}
2222

23-
private Condition<Object> isInstanceOf(Class<?> type) {
23+
private Condition<Object> instanceOf(Class<?> type) {
2424
return new Condition<>(type::isInstance, "instance of " + type);
2525
}
2626
}

0 commit comments

Comments
 (0)