### Question:
EllipsisFrame extends Frame { @Override public boolean equals(Object o) { if(this == o) { return true; } if(o == null || getClass() != o.getClass()) { return false; } if(!super.equals(o)) { return false; } EllipsisFrame that = (EllipsisFrame) o; return more == that.more; } EllipsisFrame(int more); @Override String getClassName(); @Override String getMethodName(); @Override String getFileName(); @Override int getLineNumber(); @Override int hashCode(); @Override boolean equals(Object o); @Override String toString(); @Override boolean isNative(); @Override boolean isUnknown(); int howManyMore(); static final String ELLIPSIS_CLASS_NAME; static final String ELLIPSIS_METHOD_NAME; }### Answer:
@Test public void testEquals() { int more = 42; EllipsisFrame frame = new EllipsisFrame(more); assertThat(frame.equals(frame), is(true)); assertThat(frame.equals(new EllipsisFrame(more)), is(true)); assertThat(frame.equals(new EllipsisFrame(24)), is(false)); assertThat(frame.equals(new Frame("test", "methodtest", "file.java", 24)), is(false)); }