public void test_clone(){
  Format fm=new MockFormat();
  Format fmc=(Format)fm.clone();
  assertEquals(fm.getClass(),fmc.getClass());
}

public void test_clone ( ) { Format fm = new MockFormat ( ) ; Format fmc = ( Format ) fm . clone ( ) ; assertEquals ( fm . getClass ( ) , fmc . getClass ( ) ) ; }
java . text . format # clone ( ) test of method java . text . format # clone ( ) . compare of internal variables of cloned objects .
