abstract class returned to MethodsTest.java