Exemple #1
0
        public void ShouldSetDoubleZerosForDataWhenTheResetIsTrue()
        {
            var command = new SetProtocolSetSendMessage(0, true);

            Assert.AreEqual("00", command.Data);
        }
Exemple #2
0
        public void ShouldContainOnlyOneLetterInDataField()
        {
            var command = new SetProtocolSetSendMessage(11);

            Assert.AreEqual(1, command.Data.Length);
        }