Update TestClass.java

Added isTrue method