protected override void Arrange() { base.Arrange(); base.Act(); CodeRepository.Stub(x => x.GetLocation()).Return(Location); ReadAndExcludeCodes.Stub(x => x.Read(Location)).Return(UnpresentableCodes); DtoPresentator.Stub(x => x.Present(UnpresentableCodes)).Return(Expected); }
protected override void Act() { Sut = new DtoPresentator(CodeDtoFactory); }
protected override void Act() { Sut = new DtoPresentator(CodeDtoFactory); }
public PresentSSCC(ReadAndExcludeCodes readAndExcludeCodes, CodeRepository codeRepository, DtoPresentator dtoPresentator) { _readAndExclude = readAndExcludeCodes; _codeRepository = codeRepository; _dtoPresentator = dtoPresentator; }