public async void CreatingIndexAsync() { var strategy = new StubElasticsearchIndexCreationStrategy(_fixture.Client); await strategy.CreateAsync(); _fixture.ShouldUseHttpMethod("POST"); }
public async void CreatingIndexAsync() { var strategy = new StubElasticsearchIndexCreationStrategy(_fixture.Client); var result = await strategy.CreateAsync(); _fixture.ShouldUseHttpMethod("POST"); result.Success.Should().BeTrue(); result.Contributors.All(x => x.HasContributed).Should().BeTrue(); }