private Stream CreateContent(int contentSize) { return new MemoryStream(Encoding.ASCII.GetBytes(new string('y', contentSize))); }