ApplicationContext context = new ClassPathXmlApplicationContext(configLocation);
assertFalse(context.containsBean("oauthConnectionInfo"),
"Should not find oauthConnectionInfo bean after parsing " + configLocation);
assertTrue(context.containsBean("oauthConnector"),
"Could not find oauthConnector bean after parsing " + configLocation);
assertTrue(context.containsBean("forceRememberMeServices"),
"Could not find forceRememberMeServices bean after parsing " + configLocation);
assertTrue(context.containsBean("rememberMeFilter"),
"Could not find rememberMeFilter bean after parsing " + configLocation);
assertTrue(context.containsBean("connectionStorageFilter"),
"Could not find connectionStorageFilter bean after parsing " + configLocation);