Basically you're replacing a one-line call with another :) There is no need for this function unless you want to perform your assertions in this function too.