public void SetUp() { Container.Reset(); Environment.Setup(); _sut = Container.Resolve <IOrderAckService>(); }
public void SetUp() { Container.Reset(); Environment.Setup(); _sut = Container.Resolve<IOrderAckService>(); }
public void SetUp() { _trans = new Mock <IEDIXmlTransactionSet>(); _builder = new Mock <ICreateEdiContentFrom <CreateOrderMessage> >(); _fileCreator = new Mock <IFileCreationService>(); _builder.Setup(b => b.BuildFromMessage(It.IsAny <CreateOrderMessage>())).Returns(_trans.Object); _sut = new FedexOrderAckService(_builder.Object, _fileCreator.Object); }
public void SetUp() { _trans = new Mock<IEDIXmlTransactionSet>(); _builder = new Mock<ICreateEdiContentFrom<CreateOrderMessage>>(); _fileCreator = new Mock<IFileCreationService>(); _builder.Setup(b => b.BuildFromMessage(It.IsAny<CreateOrderMessage>())).Returns(_trans.Object); _sut = new FedexOrderAckService(_builder.Object, _fileCreator.Object); }