public void CheckHAOffNoPool() { var host = GetHostLiveness(GetMockConnectionWithCache(), true, false, true); //Execute the check var check = new HAOffCheck(host); var problem = check.RunCheck(); Assert.IsNull(problem); }
public void CheckHAOff() { var host = GetHostHA(false); //Execute the check var check = new HAOffCheck(host); var problem = check.RunCheck(); Assert.IsNull(problem); }
public void CheckHAON() { var host = GetHostHA(true); //Execute the check var check = new HAOffCheck(host); var problem = check.RunCheck(); Assert.IsNotNull(problem); Assert.AreEqual(typeof(HAEnabledProblem), problem.GetType()); }