Beispiel #1
0
        public void IsEmptyTest()
        {
            string       tag      = "001";
            string       data     = "  2007032296";
            ControlField target   = new ControlField(tag, data);
            bool         expected = false;
            bool         actual   = target.IsEmpty();

            Assert.AreEqual(expected, actual);
            target   = new ControlField(tag, string.Empty);
            expected = true;
            actual   = target.IsEmpty();
            Assert.AreEqual(expected, actual);
        }