<?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:jpa="http://www.springframework.org/schema/data/jpa"
	xsi:schemaLocation="http://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
		http://www.springframework.org/schema/data/jpa https://www.springframework.org/schema/data/jpa/spring-jpa.xsd">
    
    <import resource="../infrastructure.xml" />
    
    <jpa:auditing auditor-aware-ref="auditorAware" />
    
    <bean id="auditorAware" class="org.springframework.data.jpa.domain.sample.AuditorAwareStub">
    	<constructor-arg>
    		<bean class="org.mockito.Mockito" factory-method="mock">
    			<constructor-arg value="org.springframework.data.jpa.repository.sample.AuditableUserRepository" />
    		</bean>
    	</constructor-arg>
    </bean> 

</beans>
