diff --git a/rm-community/rm-community-repo/unit-test/java/org/alfresco/module/org_alfresco_module_rm/util/NodeTypeUtilityUnitTest.java b/rm-community/rm-community-repo/unit-test/java/org/alfresco/module/org_alfresco_module_rm/util/NodeTypeUtilityUnitTest.java index a0b73aa9f7..2e8be8b789 100644 --- a/rm-community/rm-community-repo/unit-test/java/org/alfresco/module/org_alfresco_module_rm/util/NodeTypeUtilityUnitTest.java +++ b/rm-community/rm-community-repo/unit-test/java/org/alfresco/module/org_alfresco_module_rm/util/NodeTypeUtilityUnitTest.java @@ -87,7 +87,6 @@ public class NodeTypeUtilityUnitTest public void testInstanceOfCacheSameTypes() { nodeTypeUtility.instanceOf(type, ofType); - verify(mockedDictionaryService, times(1)).isSubClass(any(), any()); nodeTypeUtility.instanceOf(type, ofType); verify(mockedDictionaryService, times(1)).isSubClass(any(), any()); } @@ -98,7 +97,6 @@ public class NodeTypeUtilityUnitTest { QName anotherType = AlfMock.generateQName(); nodeTypeUtility.instanceOf(type, ofType); - verify(mockedDictionaryService, times(1)).isSubClass(any(), any()); nodeTypeUtility.instanceOf(anotherType, ofType); verify(mockedDictionaryService, times(2)).isSubClass(any(), any()); }