Right. The success status is set true for atleast one successful email sending. Also, the test passes - even if messageGateway.send(email) is removed. An exception at this line should not necessarily make the test a failure in all the cases.