@Test public void testNullObject() { List<String> result = converter.convert(null); Assert.assertNull("Teaching Assignment list should be null", result); }
public List<String> convert(TeachingAssignment source) { if (source == null) { return null; } List<String> list = new ArrayList<String>(0); list.add(toSliAcademicSubjectType(TeachingArea.wrap(source.getCode()))); return list; }
TeachingAssignmentConverter { public List<String> convert(TeachingAssignment source) { if (source == null) { return null; } List<String> list = new ArrayList<String>(0); list.add(toSliAcademicSubjectType(TeachingArea.wrap(source.getCode()))); return list; } }
TeachingAssignmentConverter { public List<String> convert(TeachingAssignment source) { if (source == null) { return null; } List<String> list = new ArrayList<String>(0); list.add(toSliAcademicSubjectType(TeachingArea.wrap(source.getCode()))); return list; }  }
TeachingAssignmentConverter { public List<String> convert(TeachingAssignment source) { if (source == null) { return null; } List<String> list = new ArrayList<String>(0); list.add(toSliAcademicSubjectType(TeachingArea.wrap(source.getCode()))); return list; }  List<String> convert(TeachingAssignment source); }
TeachingAssignmentConverter { public List<String> convert(TeachingAssignment source) { if (source == null) { return null; } List<String> list = new ArrayList<String>(0); list.add(toSliAcademicSubjectType(TeachingArea.wrap(source.getCode()))); return list; }  List<String> convert(TeachingAssignment source);  }