public void Clone(UTF8Encoding encoding) { UTF8Encoding clone = (UTF8Encoding)encoding.Clone(); Assert.NotSame(encoding, clone); Assert.Equal(encoding, clone); }
public void Clone(UTF8Encoding encoding) { UTF8Encoding clone = (UTF8Encoding)encoding.Clone(); Assert.False(clone.IsReadOnly); Assert.NotSame(encoding, clone); Assert.Equal(encoding, clone); }
public void Clone(UTF8Encoding encoding) { UTF8Encoding clone = (UTF8Encoding)encoding.Clone(); Assert.NotSame(encoding, clone); Assert.Equal(encoding, clone); }