<?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:context="http://www.springframework.org/schema/context"
       xmlns:util="http://www.springframework.org/schema/util"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
        http://www.springframework.org/schema/beans/spring-beans.xsd
        http://www.springframework.org/schema/context
        http://www.springframework.org/schema/context/spring-context.xsd
        http://www.springframework.org/schema/util 
        http://www.springframework.org/schema/util/spring-util.xsd">
	
    <context:annotation-config/>
    <import resource="classpath:share-po-context.xml"/>
    <import resource="classpath:dataprep-context.xml"/> 
    
    <bean id="testPOProperties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
       <property name="locations">
          <list>
             <value>classpath:test.properties</value>
             <value>classpath:cmm.properties</value>
          </list>
       </property>
       <property name="ignoreUnresolvablePlaceholders" value="true"/>
       <property name="ignoreResourceNotFound" value="true" />
    </bean>
 
    <!-- Initiating another user that will be required for unit tests.  -->
    <bean id="anotherUser" class="org.alfresco.po.share.site.document.UserProfile">
        <property name="fName" value="${test.user1.fName}" />
        <property name="lName"  value="${test.user1.lName}" />
        <property name="username" value="${test.user1.username}" />
        <property name="password" value="${test.user1.password}" />
        <property name="emailId" value="${test.user1.emailId}" />
    </bean>
</beans>
