public void It_Should_Return_True_When_Diviable_with_Three() { _sut = new CounterPredicate(); _counter.Stub(x => x.GetValue()).Return(3); Boolean _result = _sut.IsDividableWithThree(_counter); Assert.AreEqual(true,_result); }
public AdvancedTimpexPrinterTwo(Printer timpexPrinter, Printer timPrinter, Printer pexPrinter, CounterPredicate counterPredicate, Counter numberCounter) { _timpexPrinter = timpexPrinter; _timPrinter = timPrinter; _pexPrinter = pexPrinter; _counterPredicate = counterPredicate; _numberCounter = numberCounter; }
protected override void Act() { Sut = new CounterPredicate(); }
public PexPrinter(Counter numberCounter, CounterPredicate counterPredicate) { _numberCounter = numberCounter; _counterPredicate = counterPredicate; }
public PexPrinter(Counter numberCounter, CounterPredicate counterPredicate) { _numberCounter = numberCounter; _counterPredicate = counterPredicate; }