public void ShouldRun()
        {
            var response = _repository.Bulk(new [] {
                new Person()
                {
                    Id = 1
                },
                new Person()
                {
                    Id = 2
                },
                new Person()
                {
                    Id = 3
                }
            });

            response.Took.Should().Be(7);
            response.Items.Count().Should().Be(3);
        }
Exemplo n.º 2
0
        public void ShouldRun()
        {
            var response = _repository.Bulk(new [] {
                new Person()
                {
                    Id = 1
                },
                new Person()
                {
                    Id = 2
                },
                new Person()
                {
                    Id = 3
                }
            });

            response.Took.Should().Be(7);
            response.Items.Count().Should().Be(3);
            response.Infer.DefaultIndex.Should().Be("test-index");
        }