Surrounds the statement containing a send message expression with the if block.