public byte[] Take(int size) { TakeCallCount++; TakeSize.Add(size); return(new byte[size]); }
public void Reset() { TakeCallCount = 0; TakeSize.Clear(); ReturnCallCount = 0; ReturnBuffer.Clear(); }