public void Can_send_large_messages() { var client = CreateClient(); IEncryptedClient encryptedClient = client.GetEncryptedClient(client.Get <string>("/publickey")); var request = new LargeMessage { Messages = 100.Times(i => new HelloSecure { Name = "Name" + i }) }; var response = encryptedClient.Send(request); Assert.That(response.Messages.Count, Is.EqualTo(request.Messages.Count)); }
public object Any(LargeMessage request) { return(request); }