public void Requesting_missing_item_from_SSO_should_throw_an_exception() { var exceptionThrown = false; try { SSO.GetSSOInt32("IKTA.Common", "missingValue"); } catch (Exception e) { exceptionThrown = true; } Assert.IsTrue(exceptionThrown); }
public void Requesting_item_from_nonexistant_application_from_SSO_should_throw_an_exception() { var exceptionThrown = false; try { SSO.GetSSOInt32("NonExisting", "missingValue"); } catch (Exception e) { exceptionThrown = true; } Assert.IsTrue(exceptionThrown); }
public void We_should_be_able_to_get_an_integer_from_SSO() { var value = SSO.GetSSOInt32("IKTA.Common", "CommandTimeout"); Assert.AreEqual(30, value); }