Exemplo n.º 1
0
 protected override void Arrange()
 {
     base.Arrange();
     base.Act();
     CodeExtracter.Stub(x => x.ExtractIdentifier()).Return(Identifier);
     CodeExtracter.Stub(x => x.ExtractApplicationIdentifier()).Return(ApplicationIdentifier);
     CodeExtracter.Stub(x => x.ExtractCountryCode()).Return(CountryCode);
     CodeExtracter.Stub(x => x.ExtractSupplier()).Return(Supplier);
     CodeExtracter.Stub(x => x.ExtractSerialNumber()).Return(SerialNumber);
 }
Exemplo n.º 2
0
 protected override void Act()
 {
     Sut = new CodeExtracter();
     Sut.Setup(Code);
 }
Exemplo n.º 3
0
 protected override void Act()
 {
     Sut = new CodeExtracter();
     Sut.Setup(Code);
 }
Exemplo n.º 4
0
 public CodeToDtoMapper(CodeExtracter extracter)
 {
     _extracter = extracter;
 }
Exemplo n.º 5
0
 public void It_Should_Setup_Instance()
 {
     CodeExtracter.AssertWasCalled(x => x.Setup(UnhandledCode));
 }