From ed08ba10ba1d4fd7063a3aa340bbc96074ef76e1 Mon Sep 17 00:00:00 2001 From: Luke Taylor Date: Tue, 11 Mar 2008 13:50:53 +0000 Subject: [PATCH] Added test file for CustomAuthenticationProviderBeanDefinitionDecorator --- ...nProviderBeanDefinitionDecoratorTests.java | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 core/src/test/java/org/springframework/security/config/CustomAuthenticationProviderBeanDefinitionDecoratorTests.java 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"); + } +}