public void Initialize_AddsMoreThanRule_WhenCalled() { // Arrange CellInformation info = CreateCellInformation(); NewbornRule sut = CreateSut(); // Act sut.Initialize(info); // Assert sut.GetConditions().First().ShouldBeInstanceOf <IsEqual>(); }
public void Initialize_AddsConditions_WhenCalled() { // Arrange CellInformation info = CreateCellInformation(); NewbornRule sut = CreateSut(); // Act sut.Initialize(info); // Assert sut.GetConditions().Count().ShouldEqual(1); }