@Test
public void testClone() {

  final Expr sizeExpr = new IntConstantExpr("1");
  final ArrayInfo arrayInfo1 = new ArrayInfo(sizeExpr);
  final ArrayInfo arrayInfo2 = arrayInfo1.clone();
  assertNotSame(arrayInfo1, arrayInfo2);
  assertSame(sizeExpr, arrayInfo1.getSizeExpr());
  assertNotSame(sizeExpr, arrayInfo2.getSizeExpr());
  assertEquals(sizeExpr.getText(), arrayInfo2.getSizeExpr().getText());
}