title: How to Inject Prototype bean in Mockito
body: <p>I am using <code>InjectMocks</code> and <code>Spy</code> annotations for injecting a prototype bean.</p>
  
  <p>However the inject bean behaves like singleton bean. Is there any way to inject a prototype scoped bean in Mockito?</p>
  
  <p>I am running JUnit with <code>SpringJUnit4ClassRunner</code> and init mocks using <code>MockitoAnnotations.initMocks(this)</code>.</p>