public ProcessorTests() { mTimeGiver = Substitute.For <ITimeGiver>(); mUnderTest = new Processor <int>(13, mTimeGiver); }
public Processor(TWrappedProcessor wrappedProcessor, ITimeGiver timeGiver) { mWrappedProcessor = wrappedProcessor; mTimeGiver = timeGiver; }