@Test public void shouldAddLocalUsersToDb() { memberService.syncMembers(); List<MemberEntryEntity> entries = memberRepository.findAll(); assertThat(entries).hasSize(1); assertThat(entries.get(0).getId()).isEqualTo("member1"); }
public void syncMembers() { log.info("> Sync members"); syncLocalMembers(); syncRemoteMembers(); log.info("< Synced members"); }
MemberService { public void syncMembers() { log.info("> Sync members"); syncLocalMembers(); syncRemoteMembers(); log.info("< Synced members"); } }
MemberService { public void syncMembers() { log.info("> Sync members"); syncLocalMembers(); syncRemoteMembers(); log.info("< Synced members"); }  }
MemberService { public void syncMembers() { log.info("> Sync members"); syncLocalMembers(); syncRemoteMembers(); log.info("< Synced members"); }  void syncMembers(); List<Member> groupMembers(String groupId); List<Member> groupMembers(String groupId, LocalDate form, LocalDate to); List<GroupLightModel> memberGroups(String memberId); List<GroupLightModel> memberGroups(String memberId, LocalDate form, LocalDate to); Map<String, Long> getIntegrationsSummary(); }
MemberService { public void syncMembers() { log.info("> Sync members"); syncLocalMembers(); syncRemoteMembers(); log.info("< Synced members"); }  void syncMembers(); List<Member> groupMembers(String groupId); List<Member> groupMembers(String groupId, LocalDate form, LocalDate to); List<GroupLightModel> memberGroups(String memberId); List<GroupLightModel> memberGroups(String memberId, LocalDate form, LocalDate to); Map<String, Long> getIntegrationsSummary();  }