コード例 #1
0
        public async Task WriteSpaceAsync()
        {
            // arrange
            var stringBuilder = new StringBuilder();
            var writer        = new DocumentWriter(stringBuilder);

            // act
            await writer.WriteSpaceAsync();

            // assert
            Assert.Equal(" ", stringBuilder.ToString());
        }