Add check for isConfigured() method

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1357575 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/configadmin/src/test/java/org/apache/felix/cm/integration/ConfigUpdateStressTest.java b/configadmin/src/test/java/org/apache/felix/cm/integration/ConfigUpdateStressTest.java
index 298932f..81ac693 100644
--- a/configadmin/src/test/java/org/apache/felix/cm/integration/ConfigUpdateStressTest.java
+++ b/configadmin/src/test/java/org/apache/felix/cm/integration/ConfigUpdateStressTest.java
@@ -133,11 +133,14 @@
             // wait for all tasks to terminate
             delay();
 
+            final boolean isConfigured = mt.isConfigured();
             final ArrayList<Dictionary> configs = mt.getConfigs();
 
             // terminate mt to ensure no further config updates
             mt.cleanup();
 
+            TestCase.assertTrue( "Last update call must have been with configuration",  isConfigured);
+
             if ( configs.size() == 0 )
             {
                 TestCase.fail( "No configuration provided to ManagedService at all" );
@@ -199,11 +202,14 @@
             // wait for all tasks to terminate
             delay();
 
+            final boolean isConfigured = mt.isConfigured();
             final ArrayList<Dictionary> configs = mt.getConfigs();
 
             // terminate mt to ensure no further config updates
             mt.cleanup();
 
+            TestCase.assertTrue( "Last update call must have been with configuration",  isConfigured);
+
             if ( configs.size() == 0 )
             {
                 TestCase.fail( "No configuration provided to ManagedServiceFactory at all" );