public void CanDecodeValue(string expectedValue, byte[] bytes)
            {
                //Arrange
                var decoder       = new Int16Decoder();
                var readOperation = new ReadOperation()
                {
                    SwapMode     = SwapMode.BigEndian,
                    StartAddress = "40001",
                    Count        = 1
                };

                //Act
                var result = this.decoder.GetValues(bytes, readOperation).ToList();

                //Assert
                Assert.AreEqual(expectedValue, result.First().Value);
                Assert.AreEqual(readOperation.StartAddress, result.First().Address.ToString());
            }
 public void Setup()
 {
     this.decoder = new Int16Decoder();
 }