@Test public void testInit() throws RemoteApiException { userService.init(); Object obj= Whitebox.getInternalState(userService, "userApiClient"); assertNotNull(obj); }
@PostConstruct public void init() { this.userApiClient = new UserApiClient(podHttpApiClient, logMessage); }
UserService { @PostConstruct public void init() { this.userApiClient = new UserApiClient(podHttpApiClient, logMessage); } }
UserService { @PostConstruct public void init() { this.userApiClient = new UserApiClient(podHttpApiClient, logMessage); }  }
UserService { @PostConstruct public void init() { this.userApiClient = new UserApiClient(podHttpApiClient, logMessage); }  @PostConstruct void init(); void setupBotUser(Application application); User getUser(String username); User getUser(Long userId); String getUsername(Application application); }
UserService { @PostConstruct public void init() { this.userApiClient = new UserApiClient(podHttpApiClient, logMessage); }  @PostConstruct void init(); void setupBotUser(Application application); User getUser(String username); User getUser(Long userId); String getUsername(Application application);  }