<?xml version="1.0" encoding="UTF-8"?>
<!--

    The contents of this file are subject to the license and copyright
    detailed in the LICENSE and NOTICE files at the root of the source
    tree and available online at

    http://www.dspace.org/license/

-->
<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"
       xsi:schemaLocation="http://www.springframework.org/schema/beans
           http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-2.5.xsd">

    <!-- Place all test service bean definitions below here -->

    <!-- Scan for annotated components in the specified test package(s). This allows tests using
         @Configuration annotations, e.g. see org.dspace.servicemanager.config.TestDynamicAnnotationConfiguration -->
    <context:component-scan base-package="org.dspace.servicemanager.config" />

    <!-- Test bean for property substitution from configuration service (used by DSpaceConfigurationBeanTest)
         The value of "testDynamicBean.property" should be auto-substituted from config/local.properties -->
    <bean id="dynamicPropertyBean" class="org.dspace.servicemanager.config.TestDynamicPropertyBean">
        <property name="property" value="${testDynamicBean.property}"/>
    </bean>

</beans>
