title: set mock return value for any integer input parameter
body: <pre><code>when(candidateService.findById(1)).thenReturn(new Candidate());
  </code></pre>
  
  <p>I want to extend this behaviour for any Integer(not necessarily for 1)</p>
  
  <p>If I wrire</p>
  
  <pre><code>when(candidateService.findById( any(Integer.class)  )).thenReturn(new Candidate());
  </code></pre>
  
  <p>I have compilation error</p>
  
  <blockquote>
    <p>The method findById(Integer) in the type CandidateService is not
    applicable for the arguments (Matcher)</p>
  </blockquote>
  
  <p><strong>UPDATE</strong></p>
  
  <p>imports:</p>
  
  <pre><code>import static org.junit.Assert.assertEquals;
  import static org.mockito.Matchers.anyInt;
  import static org.mockito.Matchers.anyString;
  import static org.mockito.Mockito.mock;
  import static org.mockito.Mockito.times;
  import static org.mockito.Mockito.verify;
  import static org.mockito.Mockito.when;
  import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
  
  import java.util.ArrayList;
  import java.util.HashSet;
  
  import org.junit.Before;
  import org.junit.Test;
  import org.junit.runner.RunWith;
  import org.mockito.InjectMocks;
  import org.mockito.Mock;
  import org.mockito.MockitoAnnotations;
  </code></pre>