@Test public void equals_givenSymmetric_givenTrue() throws Exception { Integer[] elements = {1, 2, 3, 4, 5}; Set<Integer> x = add(new Set<>(), elements); Set<Integer> y = add(new Set<>(), elements); assertEquals(true, x, y); assertEquals(true, y, x); }
public Set<T> add(T e) { return null; }
Set implements Iterable<T> { public Set<T> add(T e) { return null; } }
Set implements Iterable<T> { public Set<T> add(T e) { return null; } Set(); }
Set implements Iterable<T> { public Set<T> add(T e) { return null; } Set(); Set<T> add(T e); Set<T> remove(Object o); boolean contains(Object o); int size(); boolean equals(Object o); String toString(); Iterator<T> iterator(); }
Set implements Iterable<T> { public Set<T> add(T e) { return null; } Set(); Set<T> add(T e); Set<T> remove(Object o); boolean contains(Object o); int size(); boolean equals(Object o); String toString(); Iterator<T> iterator();  }