Params sent through integration test case to the service having an issue:groovy.lang.MissingMethodException
<p>I am running an integration test of a service.</p>

<p>My service has code something like this:</p>

<pre><code>def a(params){
 def b = params.list('checkNotification')
 def c = params.balance}
</code></pre>

<p>Here different values from params have been fetched in two different ways.</p>

<p>Now while sending params from test as in following code:</p>

<pre><code>def params = [checkNotification : ['email2','email3'],
             balance: 11]
when:
 service.saveSomething(params)
</code></pre>

<p>I am getting an error:
groovy.lang.MissingMethodException: No signature of method:java.util.ArrayList.list() is applicable for argument types: (java.lang.String) values: [checkNotification]</p>

<p>How can I send params of this type to the service?</p>

<p>I am using Grails 2.4.2</p>