public void TestGetBadPermit()
        {
            IOpenPermitAdapter adapter = new SQLOpenPermitAdapter();
            Permit             permit  = adapter.GetPermit("PERMNUM_45");

            Assert.IsNull(permit);
        }
        public void TestGetExistingPermit()
        {
            IOpenPermitAdapter adapter = new SQLOpenPermitAdapter();
            Permit             permit  = adapter.GetPermit("PERMNUM_17");

            Assert.IsNotNull(permit);
            Assert.AreEqual("34RT56890317", permit.ContractorLicNum);
        }
 public void TestGetBadPermit()
 {
     IOpenPermitAdapter adapter = new SQLOpenPermitAdapter();
     Permit permit = adapter.GetPermit("PERMNUM_45");
     Assert.IsNull(permit);
 }
        public void TestGetExistingPermit()
        {
            IOpenPermitAdapter adapter = new SQLOpenPermitAdapter();
            Permit permit = adapter.GetPermit("PERMNUM_17");
            Assert.IsNotNull(permit);
            Assert.AreEqual("34RT56890317", permit.ContractorLicNum);

        }