AppServiceImpl implements AppService, ApplicationListener<ConfigChangedEvent> { @Transactional(readOnly = true) @Override public int[] findAppUserIds(int appId) { List<Integer> list = userAppRepository.findAppUserIds(appId); return ArrayUtils.toPrimitive(list.toArray(ArrayUtils.EMPTY_INTEGER_OBJECT_ARRAY)); }  @PostConstruct void init(); @PreDestroy void destroy(); @Override void onApplicationEvent(ConfigChangedEvent event); @Override void save(App app); @Override void save(App app, int[] userIds); @Override void update(App app); @Override void update(App app, int[] userIds); @Override void deleteById(int id, String operator); @Transactional(readOnly = true) @Override App findById(int id); @Transactional(readOnly = true) @Override List<App> findAppsByUserId(int userId); @Transactional(readOnly = true) @Override List<App> findAppsByUserIdOrRole(int userId); @Transactional(readOnly = true) @Override int[] findAppUserIds(int appId); @Transactional(readOnly = true) @Override List<App> findAll(); @Override List<ClientInfo> loadClientInfo(int id);  }
@Test public void testFindAppUserIds() throws Exception { }