From b5899184ca0ecf35d902a271bec2fd8db5036f54 Mon Sep 17 00:00:00 2001 From: cagache Date: Thu, 22 Aug 2019 08:30:18 +0300 Subject: [PATCH] code review comments --- .../org_alfresco_module_rm/util/NodeTypeUtilityUnitTest.java | 2 -- 1 file changed, 2 deletions(-) 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()); }