Exemplo n.º 1
0
        public void Initialize_AddsConditions_WhenCalled()
        {
            // Arrange
            ICellInformation info = CreateCellInformation();
            TestRule         sut  = CreateSut();

            // Act
            sut.Initialize(info);

            // Assert
            //sut.GetConditions().Count().ShouldEqual(2);
        }
Exemplo n.º 2
0
        public void Initialize_CallsInitialize_WhenCalled()
        {
            // Arrange
            ICellInformation info = CreateCellInformation();
            TestRule         sut  = CreateSut();

            // Act
            sut.Initialize(info);

            // Assert
            //sut.WasCalledInitialize.ShouldBeTrue();
        }
Exemplo n.º 3
0
        public void ClearConditions_ClearsCondintions_WhenCalled()
        {
            // Arrange
            CellInformation info = CreateCellInformation();
            TestRule        sut  = CreateSut();

            sut.Initialize(info);

            // Act
            sut.ClearConditions();

            // Assert
            sut.GetConditions().Count().ShouldEqual(0);
        }