public void DeleteInterviewCatalogTest() { int maxId = -1; foreach (InterviewCatalog i in createCatalogBll.GetAllInterviewCatalogArray()) { if (i.Id > maxId) { maxId = i.Id; } } if (maxId != -1) { Assert.AreEqual(true, createCatalogBll.DeleteInterviewCatalog(maxId)); } Assert.AreEqual(false, createCatalogBll.DeleteInterviewCatalog(-1)); }