public async void should_create_example()
        {
            var model = new NewExampleModel {Name = "test"};
            var createdModel = await _client.Create(model);

            createdModel.Id.Should().BePositive();
        }
        public void should_validate_new_exmaple()
        {
            var model = new NewExampleModel { Name = null };

            Func<Task> task = async () => { await _client.Create(model); };
            task.ShouldThrow<ApiException>().Where(ex => ContainsNameEmptyValidationError(ex));

        }
        public async void should_close_created_example()
        {
            var model = new NewExampleModel { Name = "test" };
            var createdModel = await _client.Create(model);
            await _client.Close(new CloseExampleModel { Id = createdModel.Id });
            Thread.Sleep(5000);

            var newModel = await _client.Get(createdModel.Id);
            newModel.Status.Should().Be(20000);
        }
 public virtual Task<NewExampleCreatedModel> Create(NewExampleModel model)
 {
     var arguments = new object[] { model };
     return (Task<NewExampleCreatedModel>) methodImpls["Create"](Client, arguments);
 }