public override int GetMaxByteCount(int charCount) { throw null; }
public void NegTest1() { UTF7Encoding utf7 = new UTF7Encoding(); int charCount = -1; Assert.Throws<ArgumentOutOfRangeException>(() => { int maxByteCount = utf7.GetMaxByteCount(charCount); }); }