public void InitiateAndAddOneHundredBlocksAndPersist() { foreach (IChainStorageProvider store in stores) { ResetStore(store); var Node = new BlockChainNode(new System.Security.Cryptography.SHA512Managed()); Node.Initiate(null, store); for (int i = 1; i < 101; i++) { Node.SubmitData($"Block number {i}"); } var FileName = DateTime.Now.Ticks.ToString(); Node.Persist(FileName); Assert.Equal(true, System.IO.File.Exists(FileName)); } }