Adds Function type hinting to assert.response as it accepts also function as msg param.