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); }
protected override void EstablishContext() { base.EstablishContext(); ReadDigTag.SetupGet(t => t.IsRead).Returns(true); ReadNumericTag.SetupGet(t => t.IsRead).Returns(true); }