Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

junit check class type

assertTrue(objectUnderTest instanceof TargetObject);
 
PREVIOUS NEXT
Tagged: #junit #check #class #type
ADD COMMENT
Topic
Name
4+8 =