### Question:
ResourceIndexedSearchParamUri extends BaseResourceIndexedSearchParam { @Override public boolean equals(Object theObj) { if (this == theObj) { return true; } if (theObj == null) { return false; } if (!(theObj instanceof ResourceIndexedSearchParamUri)) { return false; } ResourceIndexedSearchParamUri obj = (ResourceIndexedSearchParamUri) theObj; EqualsBuilder b = new EqualsBuilder(); b.append(getResourceType(), obj.getResourceType()); b.append(getParamName(), obj.getParamName()); b.append(getUri(), obj.getUri()); b.append(getHashUri(), obj.getHashUri()); b.append(getHashIdentity(), obj.getHashIdentity()); return b.isEquals(); } ResourceIndexedSearchParamUri();  ResourceIndexedSearchParamUri(PartitionSettings thePartitionSettings, String theResourceType, String theParamName, String theUri); @Override void copyMutableValuesFrom(T theSource); @Override void calculateHashes(); @Override boolean equals(Object theObj); Long getHashUri(); void setHashUri(Long theHashUri); @Override Long getId(); @Override void setId(Long theId); String getUri(); ResourceIndexedSearchParamUri setUri(String theUri); @Override int hashCode(); @Override IQueryParameterType toQueryParameterType(); @Override String toString(); @Override boolean matches(IQueryParameterType theParam, boolean theUseOrdinalDatesForDayComparison); static long calculateHashUri(PartitionSettings thePartitionSettings, RequestPartitionId theRequestPartitionId, String theResourceType, String theParamName, String theUri); static final int MAX_LENGTH; @Column(name = "SP_URI", nullable = true, length = MAX_LENGTH)
	@Field()
	public String myUri; }### Answer:
@Test public void testEquals() { ResourceIndexedSearchParamUri val1 = new ResourceIndexedSearchParamUri() .setUri("http: val1.setPartitionSettings(new PartitionSettings()); val1.calculateHashes(); ResourceIndexedSearchParamUri val2 = new ResourceIndexedSearchParamUri() .setUri("http: val2.setPartitionSettings(new PartitionSettings()); val2.calculateHashes(); assertEquals(val1, val1); assertEquals(val1, val2); assertNotEquals(val1, null); assertNotEquals(val1, ""); }