protected override void Arrange() { base.Arrange(); base.Act(); Dto.Stub(x => x.ApplicationIdentifier).Return(ApplicationIdentifier); Dto.Stub(x => x.Identifier).Return(Identifier); Dto.Stub(x => x.SupplierCode).Return(Supplier); Dto.Stub(x => x.CountryCode).Return(CountryCode); Dto.Stub(x => x.Serial).Return(Serial); StringConstructer.Stub(x => x.Construct(ApplicationIdentifier, Identifier, CountryCode, Supplier, Serial)).Return(Expected); }
public CodeDtoStringCreater(StringConstructer stringConstructer) { _stringConstructer = stringConstructer; }