Beispiel #1
0
        public void Test_that_when_creating_a_block_index_should_be_increased_by_one()
        {
            var newBlock = _blockFactory.GenerateNextBlock(_block,
                                                           string.Empty,
                                                           0);

            Assert.That(newBlock.Index, Is.EqualTo(_block.Index + 1));
        }