public TransactionEncoderTests()
        {
            this.encoder0 = Substitute.For <ITransactionPayloadEncoder>();
            this.encoder0.Type.Returns(0);

            this.encoder1 = Substitute.For <ITransactionPayloadEncoder>();
            this.encoder1.Type.Returns(1);

            this.subject = new TransactionEncoder(new[] { this.encoder0, this.encoder1 });
        }
 public SimpleSendEncoderTests()
 {
     this.subject = new SimpleSendEncoder();
 }