@Test
public void should_return_an_import_report_containing_imported_element_and_imported_dependencies() throws Exception {

    List<Widget> addedWidgets = wMocks.mockWidgetsAsAddedDependencies();
    List<Widget> overridenWidgets = wMocks.mockWidgetsAsOverridenDependencies();
    Page page = pMocks.mockPageToBeImported();
    ImportReport report = pageImporter.doImport(anImport(pageImportPath));
    assertThat(report.getDependencies().getAdded().get("widget")).isEqualTo(addedWidgets);
    assertThat(report.getDependencies().getOverwritten().get("widget")).isEqualTo(overridenWidgets);
    assertThat(report.getElement()).isEqualTo(page);
}