I have a controlling method such as:
def search = {dig query = Parameter. Submitting result as ... JSON}
How do I test this? Specifically, how do I call search to set up params.query
and how do I check the results of the method render
? Is the duplicate method of render method, maybe?