Two studies explore the frequently reported finding that affective forecasts are too extreme. In the first study, driving test candidates forecast the emotional consequences of failing. Test failers overestimated the duration of their di...
A common message to append is failing on nils. For that, .appendedBeNilHint() can be used.Lazy EvaluationactualExpression is a lazy, memoized closure around the value provided to the expect function. The expression can either be a closure or a value directly passed to expect(...). In ...