@Override
  protected void validateImport(
      StagedModel stagedModel,
      StagedModelAssets stagedModelAssets,
      Map<String, List<StagedModel>> dependentStagedModelsMap,
      Group group)
      throws Exception {

    ManifestSummary manifestSummary = ExportImportHelperUtil.getManifestSummary(portletDataContext);

    Map<String, LongWrapper> modelAdditionCounters = manifestSummary.getModelAdditionCounters();

    Assert.assertEquals(4, modelAdditionCounters.size());
    Assert.assertEquals(
        1, manifestSummary.getModelAdditionCount(DDMStructure.class, JournalArticle.class));
    Assert.assertEquals(
        1, manifestSummary.getModelAdditionCount(DDMTemplate.class, DDMStructure.class));
    Assert.assertEquals(1, manifestSummary.getModelAdditionCount(JournalArticle.class));
    Assert.assertEquals(1, manifestSummary.getModelAdditionCount(JournalFolder.class));
    Assert.assertTrue(DateUtil.equals(_exportDate, manifestSummary.getExportDate(), true));
  }
  @Override
  protected void validateImportedStagedModel(
      StagedModel stagedModel, StagedModel importedStagedModel) throws Exception {

    Assert.assertTrue(
        stagedModel.getCreateDate() + " " + importedStagedModel.getCreateDate(),
        DateUtil.equals(stagedModel.getCreateDate(), importedStagedModel.getCreateDate()));
    Assert.assertEquals(stagedModel.getUuid(), importedStagedModel.getUuid());

    Layout layout = (Layout) stagedModel;
    Layout importedLayout = (Layout) importedStagedModel;

    Assert.assertEquals(layout.getName(), importedLayout.getName());
    Assert.assertEquals(layout.getTitle(), importedLayout.getTitle());
    Assert.assertEquals(layout.getDescription(), importedLayout.getDescription());
    Assert.assertEquals(layout.getKeywords(), importedLayout.getKeywords());
    Assert.assertEquals(layout.getRobots(), importedLayout.getRobots());
    Assert.assertEquals(layout.getType(), importedLayout.getType());
    Assert.assertEquals(layout.getFriendlyURL(), importedLayout.getFriendlyURL());
    Assert.assertEquals(layout.getCss(), importedLayout.getCss());
  }