I don't understand why assigning the value inside this conditional is better for testing.