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

  <spock:mock id="serviceMock" class="org.spockframework.spring.IService1"/>
  <spock:stub id="serviceStub" class="org.spockframework.spring.IService1"/>
  <spock:spy id="serviceSpy" class="org.spockframework.spring.Service2"/>

  <bean id="service2" class="org.spockframework.spring.xml.SpockMockFactoryBean">
    <constructor-arg value="org.spockframework.spring.IService2"/>
  </bean>

  <bean id="nonMock" class="java.util.ArrayList"/>
</beans>

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

  <spock:mock id="serviceMock" class="org.spockframework.spring.IService1"/>
  <spock:stub id="serviceStub" class="org.spockframework.spring.IService1"/>
  <spock:spy id="serviceSpy" class="org.spockframework.spring.Service2"/>

  <bean id="service2" class="org.spockframework.spring.xml.SpockMockFactoryBean">
    <constructor-arg value="org.spockframework.spring.IService2"/>
  </bean>

  <bean id="nonMock" class="java.util.ArrayList"/>
  
  <bean id="abstractBean" class="java.util.ArrayList" abstract="true"/>
</beans>

Add test for abstract bean declaration in spring mock tests
Add test for abstract bean declaration in spring mock tests
