@Test public void testClone() throws CloneNotSupportedException { DefaultImageReference imageRef = new DefaultImageReference( 300, 500 ); Object result = imageRef.clone(); assertThat( result, is( instanceOf( DefaultImageReference.class ) ) ); assertThat( (DefaultImageReference) result, is( not( sameInstance( imageRef ) ) ) ); assertThat( (DefaultImageReference) result, is( equalTo( imageRef ) ) ); }
public Object clone() throws CloneNotSupportedException { return super.clone(); }
DefaultImageReference implements Serializable, URLImageContainer, LocalImageContainer { public Object clone() throws CloneNotSupportedException { return super.clone(); } }
DefaultImageReference implements Serializable, URLImageContainer, LocalImageContainer { public Object clone() throws CloneNotSupportedException { return super.clone(); } DefaultImageReference( final Image img );  DefaultImageReference( final Resource imageResource );  DefaultImageReference( final int w, final int h );  DefaultImageReference( final DefaultImageReference parent ); }
DefaultImageReference implements Serializable, URLImageContainer, LocalImageContainer { public Object clone() throws CloneNotSupportedException { return super.clone(); } DefaultImageReference( final Image img );  DefaultImageReference( final Resource imageResource );  DefaultImageReference( final int w, final int h );  DefaultImageReference( final DefaultImageReference parent ); Image getImage(); URL getSourceURL(); String getSourceURLString(); String toString(); ResourceKey getResourceKey(); boolean equals( final Object obj ); int hashCode(); Object clone(); int getImageWidth(); int getImageHeight(); boolean isLoadable(); Object getIdentity(); String getName(); boolean isIdentifiable(); float getScaleX(); float getScaleY(); void setScale( final float sx, final float sy ); }
DefaultImageReference implements Serializable, URLImageContainer, LocalImageContainer { public Object clone() throws CloneNotSupportedException { return super.clone(); } DefaultImageReference( final Image img );  DefaultImageReference( final Resource imageResource );  DefaultImageReference( final int w, final int h );  DefaultImageReference( final DefaultImageReference parent ); Image getImage(); URL getSourceURL(); String getSourceURLString(); String toString(); ResourceKey getResourceKey(); boolean equals( final Object obj ); int hashCode(); Object clone(); int getImageWidth(); int getImageHeight(); boolean isLoadable(); Object getIdentity(); String getName(); boolean isIdentifiable(); float getScaleX(); float getScaleY(); void setScale( final float sx, final float sy );  }