Example #1
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     ReadDigTag.SetupGet(t => t.IsWritten).Returns(true);
     ReadDigTag.Setup(t => t.GetWrittenValue()).Returns(true);
     ReadNumericTag.SetupGet(t => t.IsWritten).Returns(true);
     NumericValue = RandomGenerator.GetRandomInt32();
     ReadNumericTag.Setup(t => t.GetWrittenValue()).Returns(NumericValue);
 }
Example #2
0
 protected override void EstablishContext()
 {
     base.EstablishContext();
     ReadDigTag.SetupGet(t => t.IsRead).Returns(true);
     ReadNumericTag.SetupGet(t => t.IsRead).Returns(true);
 }