public void IndexProviderShouldOverwriteAlreadyExistingIndex() { _provider.CreateIndex("default"); _provider.Store("default", _provider.New(1).Add("body", null)); Assert.That(_provider.IsEmpty("default"), Is.False); _provider.CreateIndex("default"); Assert.That(_provider.IsEmpty("default"), Is.True); }