@Test void testToEditorPackageNull() { assertNull(packageMapper.toEditorPackage(null)); }
public EditorPackageIdentifier toEditorPackage(Package aPackage) { if (aPackage == null) { return null; } return EditorPackageIdentifier.create(aPackage.getId(), aPackage.getLabel()); }
PackageMapper { public EditorPackageIdentifier toEditorPackage(Package aPackage) { if (aPackage == null) { return null; } return EditorPackageIdentifier.create(aPackage.getId(), aPackage.getLabel()); } }
PackageMapper { public EditorPackageIdentifier toEditorPackage(Package aPackage) { if (aPackage == null) { return null; } return EditorPackageIdentifier.create(aPackage.getId(), aPackage.getLabel()); } PackageMapper(PackageFactory packageFactory, DataService dataService); }
PackageMapper { public EditorPackageIdentifier toEditorPackage(Package aPackage) { if (aPackage == null) { return null; } return EditorPackageIdentifier.create(aPackage.getId(), aPackage.getLabel()); } PackageMapper(PackageFactory packageFactory, DataService dataService); EditorPackageIdentifier toEditorPackage(Package aPackage); }
PackageMapper { public EditorPackageIdentifier toEditorPackage(Package aPackage) { if (aPackage == null) { return null; } return EditorPackageIdentifier.create(aPackage.getId(), aPackage.getLabel()); } PackageMapper(PackageFactory packageFactory, DataService dataService); EditorPackageIdentifier toEditorPackage(Package aPackage);  }