// TODO(rluble): flesh out the test.
public void testEquality() {
final SourceOrigin sourceInfo = SourceOrigin.UNKNOWN;
JsNumberLiteral one = new JsNumberLiteral(sourceInfo, 1);
JsNumberLiteral two = new JsNumberLiteral(sourceInfo, 2);
JsArrayLiteral arrayOneTwoLiteral = new JsArrayLiteral(sourceInfo, one, two);
JsArrayLiteral arrayOneTwoLiteral2 = new JsArrayLiteral(sourceInfo, one,two);
JsArrayLiteral arrayTwoOneLiteral = new JsArrayLiteral(sourceInfo, two, one);
JsObjectLiteral emptyObject = new JsObjectLiteral(sourceInfo);
assertEquals(arrayOneTwoLiteral, arrayOneTwoLiteral2);
assertEquals(arrayOneTwoLiteral2, arrayOneTwoLiteral);
assertFalse(arrayOneTwoLiteral.equals(arrayTwoOneLiteral));
assertFalse(arrayTwoOneLiteral.equals(arrayOneTwoLiteral2));
assertFalse(arrayTwoOneLiteral.equals(emptyObject));
assertFalse(emptyObject.equals(arrayOneTwoLiteral2));
}