public void GetTagNo_ShouldReturniteTagNo_WithDisciplineAndArea()
        {
            var dut = new TestAreaTag(
                TagType.SiteArea,
                "I",
                "A300",
                null,
                null);

            Assert.AreEqual("#SITE-I-A300", dut.GetTagNo());
        }
        public void GetTagNo_ShouldReturniteTagNo_WithDisciplineAndSuffix()
        {
            var dut = new TestAreaTag(
                TagType.SiteArea,
                "I",
                null,
                "123",
                "XX");

            Assert.AreEqual("#SITE-I-XX", dut.GetTagNo());
        }
        public void GetTagNo_ShouldReturnPreTagNo_WithDiscipline()
        {
            var dut = new TestAreaTag(
                TagType.PreArea,
                "I",
                null,
                "123",
                null);

            Assert.AreEqual("#PRE-I", dut.GetTagNo());
        }
        public void GetTagNo_ShouldReturnPoTagNo_WithDisciplineAndPoCoAndSuffix()
        {
            var dut = new TestAreaTag(
                TagType.PoArea,
                "I",
                "A300",
                "123",
                "XX");

            Assert.AreEqual("#PO-I-123-XX", dut.GetTagNo());
        }
        public void GetTagNo_ShouldReturnPreTagNo_WithDisciplineAndAreaAndSuffix()
        {
            var dut = new TestAreaTag(
                TagType.PreArea,
                "I",
                "A300",
                "123",
                "XX");

            Assert.AreEqual("#PRE-I-A300-XX", dut.GetTagNo());
        }
        public void Constructor_ShouldSetProperties_WithRequirements()
        {
            var dut = new TestAreaTag(
                TagType.PreArea,
                "DisciplineA",
                "AreaA",
                "PO",
                "X");

            Assert.AreEqual(TagType.PreArea, dut.TagType);
            Assert.AreEqual("DisciplineA", dut.DisciplineCode);
            Assert.AreEqual("AreaA", dut.AreaCode);
            Assert.AreEqual("PO", dut.PurchaseOrderCalloffCode);
            Assert.AreEqual("X", dut.TagNoSuffix);
        }