assertTrue(applicationContext.containsBean("userDataSource"));
assertTrue(applicationContext.containsBean("userDao"));
assertTrue(applicationContext.containsBean("userService"));
DataSource userDataSource = applicationContext.getBean("userDataSource", DataSource.class);
TestUserDao userDao = applicationContext.getBean("userDao", TestUserDao.class);
TestUserService userService = applicationContext.getBean("userService", TestUserService.class);
assertSame(userDataSource, userDao.getDataSource());
assertSame(userDao, userService.getUserDao());
// NOTE a GemFire declared component initialized by Spring!
UserDataStoreCacheLoader usersCacheLoader = UserDataStoreCacheLoader.getInstance();