Skip to content

Commit 80115d3

Browse files
committed
Fix more test XML configs for latest Mockito
1 parent cd0b44d commit 80115d3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

spring-integration-core/src/test/java/org/springframework/integration/config/ChainParserTests-context.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@
119119
</chain>
120120

121121
<beans:bean id="jsonObjectMapper" class="org.mockito.Mockito" factory-method="mock">
122-
<beans:constructor-arg value="org.springframework.integration.support.json.JsonObjectMapper"/>
122+
<beans:constructor-arg value="org.springframework.integration.support.json.JsonObjectMapper"
123+
type="java.lang.Class"/>
123124
</beans:bean>
124125

125126
<chain id="subComponentsIdSupport1" input-channel="subComponentsIdSupport1Channel">

spring-integration-core/src/test/java/org/springframework/integration/config/xml/HeaderEnricherTests-context.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,8 @@
7777
</header-enricher>
7878

7979
<beans:bean id="bazRoutingSlip" class="org.mockito.Mockito" factory-method="mock">
80-
<beans:constructor-arg value="org.springframework.integration.routingslip.RoutingSlipRouteStrategy"/>
80+
<beans:constructor-arg value="org.springframework.integration.routingslip.RoutingSlipRouteStrategy"
81+
type="java.lang.Class"/>
8182
</beans:bean>
8283

8384
<channel id="fooChannel"/>

0 commit comments

Comments
 (0)