public JsonSuccess post_small(SmallInput input)
 {
     return(new JsonSuccess
     {
         Successful = input.Guids.Count.Equals(input.ExpectedCount)
     });
 }
        public void posting_small_json_data()
        {
            _host.Scenario(x =>
            {
                var guids = new List <Guid>();
                for (var i = 0; i < 10; i++)
                {
                    guids.Add(Guid.NewGuid());
                }
                var input = new SmallInput
                {
                    ExpectedCount = 10,
                    Guids         = guids
                };
                x.JsonData(input);

                x.ContentShouldBe("{\"successful\":true}");
                x.ContentTypeShouldBe(MimeType.Json);
                x.StatusCodeShouldBeOk();
            });
        }