SEC-943: Forgot to commit tests.

This commit is contained in:
Luke Taylor 2008-07-31 20:30:56 +00:00
parent e5d86b13b7
commit d7926f3557
1 changed files with 6 additions and 0 deletions

View File

@ -12,4 +12,10 @@ public class DefaultSpringSecurityContextSourceTests {
public void instantiationSucceeds() {
new DefaultSpringSecurityContextSource("ldap://blah:789/dc=springframework,dc=org");
}
@Test
public void supportsSpacesInUrl() {
new DefaultSpringSecurityContextSource("ldap://myhost:10389/dc=spring%20framework,dc=org");
}
}