diff --git a/src/test/java/org/springframework/data/gemfire/support/SpringContextBootstrappingInitializerIntegrationTest.java b/src/test/java/org/springframework/data/gemfire/support/SpringContextBootstrappingInitializerIntegrationTest.java index 478cfd26..905ace5f 100644 --- a/src/test/java/org/springframework/data/gemfire/support/SpringContextBootstrappingInitializerIntegrationTest.java +++ b/src/test/java/org/springframework/data/gemfire/support/SpringContextBootstrappingInitializerIntegrationTest.java @@ -154,7 +154,7 @@ public class SpringContextBootstrappingInitializerIntegrationTest { .create(); assertNotNull("The GemFire Cache was not properly created or initialized!", gemfireCache); - assertFalse("The GemFire Cache is close!", gemfireCache.isClosed()); + assertFalse("The GemFire Cache is closed!", gemfireCache.isClosed()); Set> rootRegions = gemfireCache.rootRegions(); @@ -258,6 +258,14 @@ public class SpringContextBootstrappingInitializerIntegrationTest { getClass().getName())); } + @Override + protected void assertInitialized() { + super.assertInitialized(); + Assert.state(userDataSource != null, String.format( + "The 'User' Data Source was not properly configured and initialized for use in (%1$s!)", + getClass().getName())); + } + protected DataSource getDataSource() { return userDataSource; }