示例#1
0
        public void WriteOk(ISession session, params string[] args)
        {
            session.Write(args);

            var response = session.Read();

            RequestWriterAssert.Ok(response);
        }
示例#2
0
        public async Task WriteOkAsync(ISession session, params string[] args)
        {
            await session.WriteAsync(args);

            var response = await session.ReadAsync();

            RequestWriterAssert.Ok(response);
        }