You can simplify this if/else using `->times($should_receive_set_url_builder ? 1 : )` instead of `->once()` and `->never()` calls.