public void ShouldCloseStateStores() { stateManager.Initialize(); stateManager.Register(kvStoreMock.Object, null); stateManager.Register(otherStoreMock.Object, null); stateManager.Close(); kvStoreMock.Verify(x => x.Close(), Times.Once); otherStoreMock.Verify(x => x.Close(), Times.Once); }