doInit can be invoked through the use of Mockito's WhiteBox