<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	   xmlns:int-http="http://www.springframework.org/schema/integration/http"
	   xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/integration/http https://www.springframework.org/schema/integration/http/spring-integration-http.xsd">

	<bean id="restTemplate" class="org.mockito.Mockito" factory-method="mock">
		<constructor-arg value="org.springframework.web.client.RestTemplate" type="java.lang.Class"/>
	</bean>

	<int-http:outbound-gateway url="/fake"
							   rest-template="restTemplate"
							   encoding-mode="NONE"/>

</beans>
