diff --git a/core/src/test/java/org/springframework/security/config/CustomAuthenticationProviderBeanDefinitionDecoratorTests.java b/core/src/test/java/org/springframework/security/config/CustomAuthenticationProviderBeanDefinitionDecoratorTests.java new file mode 100644 index 0000000000..93e4b40930 --- /dev/null +++ b/core/src/test/java/org/springframework/security/config/CustomAuthenticationProviderBeanDefinitionDecoratorTests.java @@ -0,0 +1,21 @@ +package org.springframework.security.config; + +import org.junit.Test; +import org.springframework.security.util.InMemoryXmlApplicationContext; + + +public class CustomAuthenticationProviderBeanDefinitionDecoratorTests { + + @Test + public void decoratorParsesSuccessfully() { + InMemoryXmlApplicationContext ctx = new InMemoryXmlApplicationContext( + "" + + " " + + " " + + " " + + "" + HttpSecurityBeanDefinitionParserTests.AUTH_PROVIDER_XML + ); + + ctx.getBean("someBean"); + } +}