示例#1
0
        public void ParseCommand_ValidCommand2_Successful()
        {
            var command = new FieldDataCommand();

            command.ParseCommand("^FDtest");
            Assert.AreEqual("test", command.Data);
        }
示例#2
0
        public void ParseCommand_ValidCommand1_Successful()
        {
            var command = new FieldDataCommand();

            command.ParseCommand("^FD");
            Assert.AreEqual(string.Empty, command.Data);
        }