public void TestCopyToExtractsCorrectCharacters() { var builder = new ColoredMultistringBuilder(); builder.Append(anyArrayOfMultipleColoredStrings); char[] buffer = new char[8]; for (var i = 0; i < buffer.Length; ++i) { buffer[i] = ' '; } builder.CopyTo(1, buffer, 3, 5); buffer.Should().Equal(new[] { ' ', ' ', ' ', 'e', 'l', 'l', 'o', ':', }); }