mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
code review comments
This commit is contained in:
@@ -87,7 +87,6 @@ public class NodeTypeUtilityUnitTest
|
|||||||
public void testInstanceOfCacheSameTypes()
|
public void testInstanceOfCacheSameTypes()
|
||||||
{
|
{
|
||||||
nodeTypeUtility.instanceOf(type, ofType);
|
nodeTypeUtility.instanceOf(type, ofType);
|
||||||
verify(mockedDictionaryService, times(1)).isSubClass(any(), any());
|
|
||||||
nodeTypeUtility.instanceOf(type, ofType);
|
nodeTypeUtility.instanceOf(type, ofType);
|
||||||
verify(mockedDictionaryService, times(1)).isSubClass(any(), any());
|
verify(mockedDictionaryService, times(1)).isSubClass(any(), any());
|
||||||
}
|
}
|
||||||
@@ -98,7 +97,6 @@ public class NodeTypeUtilityUnitTest
|
|||||||
{
|
{
|
||||||
QName anotherType = AlfMock.generateQName();
|
QName anotherType = AlfMock.generateQName();
|
||||||
nodeTypeUtility.instanceOf(type, ofType);
|
nodeTypeUtility.instanceOf(type, ofType);
|
||||||
verify(mockedDictionaryService, times(1)).isSubClass(any(), any());
|
|
||||||
nodeTypeUtility.instanceOf(anotherType, ofType);
|
nodeTypeUtility.instanceOf(anotherType, ofType);
|
||||||
verify(mockedDictionaryService, times(2)).isSubClass(any(), any());
|
verify(mockedDictionaryService, times(2)).isSubClass(any(), any());
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user