added an assert for detecting wrong CM update notification

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@937770 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java
index 92acd27..0cef411 100644
--- a/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java
+++ b/dependencymanager/test/src/test/java/org/apache/felix/dm/test/FactoryConfigurationAdapterTest.java
@@ -82,7 +82,7 @@
             .setRequired(true)
             .setAutoConfig(true));
         
-        // Create extra adapter service dependency which our adapter depends on.
+        // Create extra adapter service dependency upon which our adapter depends on.
         Service s3 = m.createService()
             .setImplementation(new AdapterExtraDependency())
             .setInterface(AdapterExtraDependency.class.getName(), null);
@@ -185,6 +185,8 @@
                 m_ensure.step(9);
                 Assert.assertEquals(true, "value2".equals(settings.get("key")));
                 m_ensure.step(10);
+            } else {
+                Assert.fail("wrong call to updated method: count=" + updateCount);
             }
         }
 
@@ -237,4 +239,4 @@
             m_ensure.step(15);
         }
     }
-}
\ No newline at end of file
+}