mockito -using one of the values from list of values to compare in matcher
<p>My method interface is </p>

<pre><code>Boolean isAuthenticated(String User)
</code></pre>

<p>I want to compare from list of values if any of the users are passed in the function from the list, then it should return true.</p>

<pre><code>when(authService.isAuthenticated(or(eq("amol84"),eq("arpan"),eq("juhi")))).thenReturn(true);
</code></pre>

<p>I am using additional argument matcher 'or' but above code is not working. How can I resolve this issue?</p>