public void TestWhenAddEntryTwiceHasTwoTests() { Reset(); Phase sut = new Phase("sut"); sut.AddEntry(MultiplyTwoToTestValue); sut.AddEntry(AddOneToTestValue); sut.PerformEntry(); Assert.AreEqual(_testValue, 11); }
public void TestWhenAddEntryActionOnceThenRunsAction() { Reset(); Phase sut = new Phase("sut"); sut.AddEntry(AddOneToTestValue); sut.PerformEntry(); Assert.AreEqual(_testValue, 6); }