public void Test_KeyMinistryExists() { bool KeyMinActive = false; bool Success = false; Int64 partnerKey = CreateNewPartnerKeyWithUnit(); Success = TGiftTransactionWebConnector.KeyMinistryExists(partnerKey, out KeyMinActive); Assert.IsTrue(Success, String.Format("PartnerKey {0} has has no key ministry!", partnerKey)); if (Success) { Assert.IsTrue(KeyMinActive, String.Format("PartnerKey {0} has inactive key ministry!", partnerKey)); } DeletePartnerKeyWithUnit(partnerKey); }