Use arguments as matchers when checking if function called