public void WriteOk(ISession session, params string[] args) { session.Write(args); var response = session.Read(); RequestWriterAssert.Ok(response); }
public async Task WriteOkAsync(ISession session, params string[] args) { await session.WriteAsync(args); var response = await session.ReadAsync(); RequestWriterAssert.Ok(response); }