code review comments

This commit is contained in:
cagache
2019-08-21 18:56:27 +03:00
parent f169e79599
commit 903791e1db

View File

@@ -102,4 +102,12 @@ public class NodeTypeUtilityUnitTest
nodeTypeUtility.instanceOf(anotherType, ofType);
verify(mockedDictionaryService, times(2)).isSubClass(any(), any());
}
/** test that instanceOf returns true if verified type is equal to the other */
@Test
public void testTypesAreEqual()
{
assertTrue(nodeTypeUtility.instanceOf(type, type));
verify(mockedDictionaryService, times(0)).isSubClass(any(), any());
}
}