title: Testing @Postconstruct with Mockito
body: <p>Why when I injecting mocks via <code>Mockito</code> my <code>@Postconstruckt</code> method is not calling?</p>
  
  <pre><code>@Service
  public class MyService {
      public MyService() {
          System.out.println("CONSTRUKTOR");
      }
  
      @PostConstruct
      public void init() {
          System.out.println("POST CONSTRUCT");
      }
  
  @RunWith(MockitoJUnitRunner.class)
  public class Mockito1 {
  
      @InjectMocks
      private MyService service;
  
      @Before
      public void init() {
      }
  </code></pre>
  
  <p>Output:
  Only: <code>CONSTRUKTOR</code></p>