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

/*
 * #%L
 * Evaluation
 * %%
 * Copyright (C) 2014 Github jjYBdx4IL Projects
 * %%
 * #L%
 */

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

/**
 *
 * @author Github jjYBdx4IL Projects
 */
public class ObjectTest {

    @Test
    public void testToStringMethod() {
        Object o = new Object();
        Object l = new Long(1L);
        Object pb = new java.lang.ProcessBuilder();
        assertTrue(o.toString().startsWith("java.lang.Object@"));
        assertEquals("1", l.toString());
        assertTrue(pb.toString().startsWith("java.lang.ProcessBuilder@"));
    }
}
-------------------------------------------------------------------------------
Test set: tests.java.lang.ObjectTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in tests.java.lang.ObjectTest
testToStringMethod  Time elapsed: 0 s