public void TestFailedConnectionEditDepatrmentActive() { IDepartmentManager departmentManager = new DepartmentManager(_brokenDepartmentAccessor); string goodID = "Fake"; bool active = false; departmentManager.EditDepartmentActive(goodID, active); }
public void EditDepartmentActiveBaddActivate() { IDepartmentManager departmentManager = new DepartmentManager(_departmentAccessor); string badDepartmentID = "Not DeactivatedID1"; bool active = true; bool result = departmentManager.EditDepartmentActive(badDepartmentID, active); Assert.AreEqual(false, result); }
public void EditDepartmentActiveGoodActivate() { IDepartmentManager departmentManager = new DepartmentManager(_departmentAccessor); string goodDepartmentID = "DeactivatedID1"; bool active = true; bool result = departmentManager.EditDepartmentActive(goodDepartmentID, active); Assert.AreEqual(true, result); }