public void CanNotApplyCurrentContextWhenEnvironmentVariableIsNotSet() { ClearEnvironmentVariableForDetection(); var j = new Jenkins(); j.CanApplyToCurrentContext().ShouldBe(false); }
public void CanApplyCurrentContextWhenEnvironmentVariableIsSet() { SetEnvironmentVariableForDetection(); var j = new Jenkins(); j.CanApplyToCurrentContext().ShouldBe(true); }