//Construct non void method
AutoJUnitMethod nonVoid = new AutoJUnitMethod();
nonVoid.addModifier("static");
nonVoid.returnType = "int";
nonVoid.name = "nonVoidMethod";
nonVoid.params.add(new ParamBinding("int", "var1"));
nonVoid.params.add(new ParamBinding("int", "var2"));
TestPath branch = new TestPath();
branch.constructor = "new TestClass();";
branch.additionalConstraints = "System.out.println('Test');";