@Test public void testEquals() { assertTrue(page.equals(page)); assertFalse(page.equals(null)); assertFalse(page.equals(42)); assertTrue(pageName.equals(pageName)); assertFalse(pageName.equals(null)); assertFalse(pageName.equals(42)); }
@Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); }
Page { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } }
Page { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } private  Page(); }
Page { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } private  Page(); static Builder withName(Name name); Name getName(); void setName(Name name); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
Page { @Override public boolean equals(Object obj) { return EqualsBuilder.reflectionEquals(this, obj); } private  Page(); static Builder withName(Name name); Name getName(); void setName(Name name); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }