Prototype implements Cloneable { @Override public abstract Object clone() throws CloneNotSupportedException;  @Override abstract Object clone();  }
@Test public void testPrototype() throws Exception { assertEquals(this.expectedToString, this.testedPrototype.toString()); final Object clone = this.testedPrototype.clone(); assertNotNull(clone); assertNotSame(clone, this.testedPrototype); assertSame(this.testedPrototype.getClass(), clone.getClass()); }