DBInit { @PostConstruct public void init() { createDefaultUserIfNecessary(); resetAdminPasswordIfNecessary(); }  @PostConstruct void init();  }
@Test public void initUserDB() { dbInit.init(); List<User> users = userRepository.findAll(); assertThat(users.size(), is(4)); assertThat(users.get(0).getUserId(), is("admin")); assertThat(users.get(1).getUserId(), is("superuser")); }