They're functionally equivalent, but one is much easier to read (since the test body contains both the execution and the validation).