Browse souce code repository at: https://github.com/jjYBdx4IL/java-evaluation/blob/master/src/test/java/tests/java/lang/classhierarchytest/ClassHierarchyTest.java
package tests.java.lang.classhierarchytest;

import static org.junit.Assert.assertTrue;
import org.junit.Test;

/**
 *
 * @author jjYBdx4IL
 */
public class ClassHierarchyTest {

    @Test
    public void test() {
        assertTrue(new Dog().getThisAsString().startsWith(Dog.class.getName() + "@"));
    }
}
-------------------------------------------------------------------------------
Test set: tests.java.lang.classhierarchytest.ClassHierarchyTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.001 s - in tests.java.lang.classhierarchytest.ClassHierarchyTest
test  Time elapsed: 0 s