Testing @PostConstruct with Mockito (Junit5)

49 views Asked by At

I'm looking for ways to test a private method with a @PostConstruct over it. How can I achieve this?

I tried looking for answers but so far got only a few which describe using @RunWith. As it is not available in Junit5, I'm looking for alternatives.

0

There are 0 answers