### Question:
DMNUnmarshaller { public Promise<Graph> unmarshall(final Metadata metadata, final JSITDefinitions jsiDefinitions) { return getImportDefinitions(metadata, jsiDefinitions) .then(importDefinitions -> getPMMLDocuments(metadata, jsiDefinitions) .then(pmmlDocumentMetadata -> unmarshall(metadata, jsiDefinitions, importDefinitions, pmmlDocumentMetadata))); } DMNUnmarshaller(); @Inject  DMNUnmarshaller(final FactoryManager factoryManager,
                           final DMNMarshallerImportsClientHelper dmnMarshallerImportsHelper,
                           final Promises promises,
                           final NodeEntriesFactory modelToStunnerConverter,
                           final DMNDiagramElementsUtils dmnDiagramElementsUtils,
                           final DMNDiagramsSession dmnDiagramsSession); @PostConstruct void init(); Promise<Graph> unmarshall(final Metadata metadata,
                                     final JSITDefinitions jsiDefinitions);  }### Answer:
@Test public void unmarshall() { dmnUnmarshaller.unmarshall(metadata, jsitDefinitions); verify(dmnMarshallerImportsHelper, times(1)).getImportDefinitionsAsync(eq(metadata), eq(imports)); verify(dmnMarshallerImportsHelper, times(1)).getPMMLDocumentsAsync(eq(metadata), eq(imports)); }