public TransactClient(
     TransactClientConfiguration configuration,
     TransactMessageEncoder encoder,
     TransactMessageResponseDecoder decoder,
     Func<ISilverpopCommunicationsClient> silverpopFactory)
 {
     Configuration = configuration;
     _encoder = encoder;
     _decoder = decoder;
     _silverpopFactory = silverpopFactory;
 }
 public TransactClientTester(
     TransactClientConfiguration configuration = null,
     TransactMessageEncoder encoder = null,
     TransactMessageResponseDecoder decoder = null,
     Func<ISilverpopCommunicationsClient> silverpopFactory = null)
     : base(
         configuration ?? new TransactClientConfiguration(),
         encoder ?? new TransactMessageEncoder(),
         decoder ?? new TransactMessageResponseDecoder(),
         silverpopFactory ?? (() => Mock.Of<ISilverpopCommunicationsClient>()))
 {
 }