@Test void testToPackageReferenceNull() { assertNull(packageMapper.toPackageReference(null)); }
Package toPackageReference(EditorPackageIdentifier editorPackageIdentifier) { if (editorPackageIdentifier == null) { return null; } return new Package( new LazyEntity( packageFactory.getEntityType(), dataService, editorPackageIdentifier.getId())); }
PackageMapper { Package toPackageReference(EditorPackageIdentifier editorPackageIdentifier) { if (editorPackageIdentifier == null) { return null; } return new Package( new LazyEntity( packageFactory.getEntityType(), dataService, editorPackageIdentifier.getId())); } }
PackageMapper { Package toPackageReference(EditorPackageIdentifier editorPackageIdentifier) { if (editorPackageIdentifier == null) { return null; } return new Package( new LazyEntity( packageFactory.getEntityType(), dataService, editorPackageIdentifier.getId())); } PackageMapper(PackageFactory packageFactory, DataService dataService); }
PackageMapper { Package toPackageReference(EditorPackageIdentifier editorPackageIdentifier) { if (editorPackageIdentifier == null) { return null; } return new Package( new LazyEntity( packageFactory.getEntityType(), dataService, editorPackageIdentifier.getId())); } PackageMapper(PackageFactory packageFactory, DataService dataService); EditorPackageIdentifier toEditorPackage(Package aPackage); }
PackageMapper { Package toPackageReference(EditorPackageIdentifier editorPackageIdentifier) { if (editorPackageIdentifier == null) { return null; } return new Package( new LazyEntity( packageFactory.getEntityType(), dataService, editorPackageIdentifier.getId())); } PackageMapper(PackageFactory packageFactory, DataService dataService); EditorPackageIdentifier toEditorPackage(Package aPackage);  }