public virtual void TestClone()
 {
     CharTermAttribute t = new CharTermAttribute();
     char[] content = "hello".ToCharArray();
     t.CopyBuffer(content, 0, 5);
     char[] buf = t.Buffer;
     CharTermAttribute copy = TestToken.AssertCloneIsEqual(t);
     Assert.AreEqual(t.ToString(), copy.ToString());
     Assert.AreNotSame(buf, copy.Buffer);
 }