Browse souce code repository at: https://github.com/jjYBdx4IL/java-evaluation/blob/master/src/test/java/org/junit/ObjectEqualsTest.java
package org.junit;

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

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

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

    @Test
    public void testLongEquals() {
        Long l1 = 1L;
        Long l2 = 1L;
        Object o1 = l1;
        Object o2 = l2;
        assertTrue(o1 == o2);
        assertEquals(o1, o2);
    }
}
-------------------------------------------------------------------------------
Test set: org.junit.ObjectEqualsTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0 s - in org.junit.ObjectEqualsTest
testLongEquals  Time elapsed: 0 s