title: Is it possible to reuse mocks ?
body: <p>I have a service ISOLanguageService with a method getDefaultLanguage();</p>
  
  <p>I want to mock this service in one class ISOLanguageServiceMock in this way:</p>
  
  <pre><code>public class ISOLanguageServiceMock {
  
      @Mock
      private ISOLanguageService isoLanguageService;
  
      public ISOLanguageServiceMock() {
  
          MockitoAnnotations.initMocks(this);
  
          ISOLanguage isoLanguage = new ISOLanguage();
          isoLanguage.setLanguageCode("EN");
          when(isoLanguageService.getDefaultLanguage()).thenReturn(isoLanguage);
      }
  </code></pre>
  
  <p>Then i have other service UserService that uses this service isoLanguageService in one of its metdhods.</p>
  
  <pre><code>public void doSomtthing() {
     return isoLanguageService.getDefaultLanguage()
  }
  </code></pre>
  
  <p>I want to test the UserService but i want in someway to reuse the mock ISOLanguageServiceMock because it's going to be used in many other services.</p>
  
  <p>I want Something like this</p>
  
  <pre><code>@RunWith(PowerMockRunner.class)
  public class UserServiceTest {
  
      private ISOLanguageServiceMock languageMock = new ISOLanguageServiceMock();
  
      @InjectMocks
      private UserService userService;
  
      public void setUp() {
         MockitoAnnotations.init(this) 
  
      }
  
      public void testDoSomething() {
  
          userService.doDomething();
      }
  
  }
  </code></pre>
  
  <p>I'd like that the mock for isoLanguageService be injected in the userService, but it's not... </p>
  
  <p>Is there anyway to reuse a mocks ?? Do i have to write in every test class the mock for isoLanguageService ??</p>