### Question:
PlatformWebResource implements IPlatformWebResource { @Override public boolean equals( Object o ) { if ( this == o ) { return true; } if ( o == null || getClass() != o.getClass() ) { return false; } PlatformWebResource that = (PlatformWebResource) o; return new EqualsBuilder() .append( context, that.context ) .append( location, that.location ) .isEquals(); } PlatformWebResource( String context, String location ); @Override String getContext(); @Override String getLocation(); @Override boolean equals( Object o ); @Override int hashCode();  }### Answer:
@Test public void testEquals() throws Exception { assertEquals( webResource, new PlatformWebResource( "context", "location" ) ); assertEquals( webResource, webResource ); }