### Question:
SpdxBOMImporter { public RequestSummary importSpdxBOMAsRelease(InputStream inputStream, AttachmentContent attachmentContent) throws InvalidSPDXAnalysisException, SW360Exception { return importSpdxBOM(inputStream, attachmentContent, SW360Constants.TYPE_RELEASE); } SpdxBOMImporter(SpdxBOMImporterSink sink); RequestSummary importSpdxBOMAsRelease(InputStream inputStream, AttachmentContent attachmentContent); RequestSummary importSpdxBOMAsProject(InputStream inputStream, AttachmentContent attachmentContent);  }### Answer:
@Test public void testRelease() throws Exception { final RequestSummary requestSummary = spdxBOMImporter.importSpdxBOMAsRelease(inputStream, attachmentContent); assertNotNull(requestSummary); verify(spdxBOMImporterSink, times(4)).addComponent(Matchers.any()); verify(spdxBOMImporterSink, times(4)).addRelease(Matchers.any()); }