StartLetterCountMP implements Cloneable { @Override public StartLetterCountMP clone() throws CloneNotSupportedException { return (StartLetterCountMP)super.clone(); }  @MessageHandler LetterCount handleFirstCharacter(Letter letter); @Override StartLetterCountMP clone();  }
@Test public void cloneTest() throws CloneNotSupportedException { StartLetterCountMP clone1 = mp.clone(); StartLetterCountMP clone2 = mp.clone(); Assert.assertNotNull(clone1); Assert.assertNotNull(clone2); Assert.assertNull(clone1.character); Assert.assertNull(clone2.character); clone1.character = new Character('T'); Assert.assertNotNull(clone1.character); Assert.assertNull(clone2.character); Assert.assertNotSame(clone2.character, clone1.character); }