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("userDataRetrievalService"),
"Could not find customUserDataRetrieverService bean after parsing " + configLocation);
assertTrue(context.containsBean("testUserDataRetriever"),
"Could not find testUserDataRetriever bean after parsing " + configLocation);
assertTrue(context.containsBean("forceRememberMeServices"),
"Could not find forceRememberMeServices bean after parsing " + configLocation);