@Test public void testEqual() { Event e1 = new Event(); Event e2 = e1.clone(); assertThat(e1, is(e2)); }
@Override public Event clone() { try { return (Event) super.clone(); } catch (CloneNotSupportedException e) { throw new AnalyticsException("Event clone not supported: " + e.getMessage(), e); } }
Event implements Cloneable { @Override public Event clone() { try { return (Event) super.clone(); } catch (CloneNotSupportedException e) { throw new AnalyticsException("Event clone not supported: " + e.getMessage(), e); } } }
Event implements Cloneable { @Override public Event clone() { try { return (Event) super.clone(); } catch (CloneNotSupportedException e) { throw new AnalyticsException("Event clone not supported: " + e.getMessage(), e); } }  }
Event implements Cloneable { @Override public Event clone() { try { return (Event) super.clone(); } catch (CloneNotSupportedException e) { throw new AnalyticsException("Event clone not supported: " + e.getMessage(), e); } }  Date getTimestamp(); void setTimestamp(Date value); Type getType(); Event.Name getName(); void setName(Event.Name value); Context getContext(); void setContext(Context value); Payload getPayload(); void setPayload(Payload value); String getValue(); void setValue(String value); @Override int hashCode(); @Override boolean equals(Object obj); @Override Event clone(); @Override String toString(); }
Event implements Cloneable { @Override public Event clone() { try { return (Event) super.clone(); } catch (CloneNotSupportedException e) { throw new AnalyticsException("Event clone not supported: " + e.getMessage(), e); } }  Date getTimestamp(); void setTimestamp(Date value); Type getType(); Event.Name getName(); void setName(Event.Name value); Context getContext(); void setContext(Context value); Payload getPayload(); void setPayload(Payload value); String getValue(); void setValue(String value); @Override int hashCode(); @Override boolean equals(Object obj); @Override Event clone(); @Override String toString(); static final String IMPRESSION; }