public void TestGetOtherFundsTypeUSGovt_USGovAgency1Only()
        {
            var agencyCode1 = GovAgencyCodeType.DOE;
            var usGov       = new USGovernmentFunding(
                org1: agencyCode1.ToString(),
                amount1: "amount 1",
                otherName1: null,
                org2: null,
                amount2: null,
                otherName2: null
                );
            var instance = usGov.GetOtherFundsTypeUSGovt();

            Assert.AreEqual(usGov.Amount1, instance.Amount1);
            Assert.AreEqual(agencyCode1, instance.Org1);

            Assert.IsNull(instance.OtherName1);
            Assert.IsNull(instance.OtherName2);
            Assert.IsFalse(instance.Org2Specified);
        }
        public void TestGetOtherFundsTypeUSGovt_OtherUsGovAgency1And2()
        {
            var agencyCode1 = GovAgencyCodeType.OTHER;
            var agencyCode2 = GovAgencyCodeType.OTHER;
            var usGov       = new USGovernmentFunding(
                org1: agencyCode1.ToString(),
                amount1: "amount 1",
                otherName1: "other 1 name",
                org2: agencyCode2.ToString(),
                amount2: "amount 2",
                otherName2: "other 2 name"
                );
            var instance = usGov.GetOtherFundsTypeUSGovt();

            Assert.AreEqual(usGov.Amount1, instance.Amount1);
            Assert.AreEqual(agencyCode1, instance.Org1);
            Assert.AreEqual(usGov.OtherName1, instance.OtherName1);

            Assert.AreEqual(usGov.Amount2, instance.Amount2);
            Assert.AreEqual(agencyCode2, instance.Org2);
            Assert.AreEqual(usGov.OtherName2, instance.OtherName2);
            Assert.IsTrue(instance.Org2Specified);
        }