public void GivenThereIsAnApplicaiton_WhenIAddAnIndex_TheIndexIsAdded()
        {
            _applicationRepository.Create(_application1);

            Application application = _applicationRepository.AddIndex(_application1.Id, "IndexName", "IndexArchiveName", "IndexArchiveValue");

            application.IndexDefinitions.Count.Should().Be(1);
        }