### Question:
CompassConverter { public static List<String> convertTeam(String team) { if (team == null) { return null; } return new ArrayList<>(Arrays.asList( team.trim().split(team.indexOf(';') >= 0 ? "\\s*;\\s*" : "\\s*,\\s*"))); }  static List<SurveyRow> convertFromCompass(List<CompassTrip> compassTrips, Task<?> subtask); static List<SurveyRow> convertShots(CompassTrip compassTrip); static List<String> convertTeam(String team); static SurveyTrip convertTripHeader(CompassTripHeader compassTripHeader); static LengthUnit pickLengthUnit(List<CompassTrip> compassTrips);  }### Answer:
@Test public void testConvertTeam() { Assert.assertEquals(null, CompassConverter.convertTeam(null)); Assert.assertEquals(Arrays.asList("Edwards, Andy", "Lewis, Sean"), CompassConverter.convertTeam(" \tEdwards, Andy; Lewis, Sean ")); Assert.assertEquals(Arrays.asList("Andy", "Sean"), CompassConverter.convertTeam(" Andy , Sean ")); }