### Question:
SimpleEntityConverter { public List<SimpleEntity> convertScChambers(List<SupremeCourtChamber> scChambers) { return scChambers.stream() .map(scChamber -> convertFromScChamber(scChamber)) .collect(Collectors.toList()); }  List<SimpleEntity> convertCcDivisions(List<CommonCourtDivision> ccDivisions); List<SimpleEntity> convertScChambers(List<SupremeCourtChamber> scChambers); List<SimpleEntity> convertScChamberDivisions(List<SupremeCourtChamberDivision> scChamberDivisions); List<SimpleEntity> convertScJudgmentForms(List<SupremeCourtJudgmentForm> scJudgmentForms);  }### Answer:
@Test public void convertScChambers_emptyList() { List<SupremeCourtChamber> scChambers = Lists.newArrayList(); List<SimpleEntity> convertedSimpleEntities = simpleEntityConverter.convertScChambers(scChambers); assertNotNull(convertedSimpleEntities); assertEquals(0, convertedSimpleEntities.size()); }
@Test public void convertScChambers_Same() { long idOne = 97; long idTwo = 101; SupremeCourtChamber scChamberOne = new SupremeCourtChamber(); scChamberOne.setName(scChamberNames[0]); Whitebox.setInternalState(scChamberOne, "id", idOne); SupremeCourtChamber scChamberTwo = new SupremeCourtChamber(); scChamberTwo.setName(scChamberNames[1]); Whitebox.setInternalState(scChamberTwo, "id", idTwo); List<SupremeCourtChamber> scChambers = Lists.newArrayList(scChamberOne, scChamberTwo); List<SimpleEntity> convertedSimpleEntities = simpleEntityConverter.convertScChambers(scChambers); assertEquals(scChambers.size(), convertedSimpleEntities.size()); assertEquals(idOne, convertedSimpleEntities.get(0).getId()); assertEquals(idTwo, convertedSimpleEntities.get(1).getId()); assertEquals(scChamberNames[0], convertedSimpleEntities.get(0).getName()); assertEquals(scChamberNames[1], convertedSimpleEntities.get(1).getName()); }