Exemplo n.º 1
0
        public void BlockIndexingJobTests_CompleteIndexing()
        {
            BigInteger expected = new BigInteger(1);
            Task       result   = _blockIndexingJob.RunAsync();

            result.Wait();
            BigInteger lastBlock = _indexingService.GetLastBlockAsync().Result;

            Assert.AreEqual(expected, lastBlock);
        }