public void Update_UpdatesStatus_WhenCalled()
        {
            // Arrange
            ICellInformation[] expected = CreateCellsInformation().ToArray();
            UnlimitedBoard     sut      = CreateSut();

            // Act
            sut.Update(expected);

            // Assert
            expected.ShouldEqual(sut.LivingCells());
        }
        public void LivingCells_ReturnsAllAlive_WhenCalled()
        {
            // Arrange
            var expected = new CellInformation[0];
            var finder   = Substitute.For <ILivingCellFinder>();

            finder.Find(Arg.Any <Dictionary <int, ICells> >()).Returns(expected);

            UnlimitedBoard sut = CreateSut();

            // Act
            IEnumerable <ICellInformation> actual = sut.LivingCells();

            // Assert
            expected.ShouldEqual(actual);
        }