+func (mc *testingSubmgrControl) VerifyAllClean(t *testing.T) {
+ // Verify that all resources are freed
+ assert.Equal(t, 0, len(mainCtrl.c.registry.register))
+ assert.Equal(t, 0, len(mainCtrl.c.registry.restSubscriptions))
+ verifyRESTKeyCount(t, 0)
+ verifyE2KeyCount(t, 0)
+}
+