### Question:
LocalGroupConverter { public LocalGroup convert(LocalGroupType localGroupType) { LocalGroup group = new LocalGroup(); group.setId(String.valueOf(localGroupType.getId())); group.setCode(localGroupType.getGroupCode()); group.setDescription(localGroupType.getDescription()); group.setUpdatedAt(FormatUtils.fromDateToOffsetDateTime(localGroupType.getUpdated())); group.setMemberCount(localGroupType.getGroupMember().size()); group.setMembers(localGroupType.getGroupMember().stream().map(this::convert).collect(Collectors.toList())); return group; } @Autowired  LocalGroupConverter(ClientConverter clientConverter, GlobalConfFacade globalConfFacade); LocalGroup convert(LocalGroupType localGroupType); List<LocalGroup> convert(Iterable<LocalGroupType> localGroupTypes); LocalGroupType convert(LocalGroup group); GroupMember convert(GroupMemberType groupMemberType); String convertId(LocalGroupId localGroupId); String convertId(LocalGroupId localGroupId, boolean includeType);  }### Answer:
@Test public void convertWithoutMembers() { LocalGroupType localGroupType = new LocalGroupType(); localGroupType.setId(1L); localGroupType.setDescription("Local Group 1"); localGroupType.setGroupCode("Local Group Code 1"); localGroupType.setUpdated(new Date()); localGroupConverter.convert(localGroupType); LocalGroup group = localGroupConverter.convert(localGroupType); assertEquals(0, group.getMembers().size()); }