Update TestClass.java

new method