public void GetMasterConfiguration() { MasterConfigurationProviderDAL objMasterConfigurationProviderDAL = new MasterConfigurationProviderDAL(); MasterConfigurationBO mastConfigBO = objMasterConfigurationProviderDAL.GetMasterConfiguration(); if (mastConfigBO != null) { string returnString = mastConfigBO.EmailAccountUserName; } Assert.AreNotEqual(null, mastConfigBO, "It should not return null"); }
/// <summary> /// Gets master configuration data /// </summary> /// <returns></returns> public MasterConfigurationBO GetMasterConfiguration() { MasterConfigurationProviderDAL objMasterConfigurationProviderDAL = new MasterConfigurationProviderDAL(); return objMasterConfigurationProviderDAL.GetMasterConfiguration(); }