@Override
  void assertNewConversationFilesAreCreatedSuccessfully(AdaptableRegistry data) {
    IEclipsePreferences seamFacetPrefs = SeamCorePlugin.getSeamPreferences(earProject);
    SeamProjectsSet seamPrjSet = new SeamProjectsSet(earProject);

    String sessionBeanPackagePath = getPackagePath(getSessionBeanPackageName(seamFacetPrefs));

    IContainer seamProjectSrcActionFolder = seamPrjSet.getActionFolder();
    IContainer seamProjectWebContentFolder = seamPrjSet.getViewsFolder();

    String seamPageName = data.getValue(ISeamParameter.SEAM_PAGE_NAME);
    String seamLocalInterfaceName = data.getValue(ISeamParameter.SEAM_LOCAL_INTERFACE_NAME);
    String seamBeanName = data.getValue(ISeamParameter.SEAM_BEAN_NAME);

    //
    //		"${" + ISeamParameter.SEAM_PROJECT_SRC_ACTION + "}/
    //		${" + ISeamFacetDataModelProperties.SESSION_BEAN_PACKAGE_PATH + "}/
    //		${" + ISeamParameter.SEAM_BEAN_NAME +"}.java", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    // //$NON-NLS-4$

    IResource beanJava =
        seamProjectSrcActionFolder.findMember(
            sessionBeanPackagePath + "/" + seamBeanName + ".java");
    assertResourceIsCreatedAndHasNoProblems(
        beanJava,
        seamProjectSrcActionFolder.toString()
            + "/"
            + sessionBeanPackagePath
            + "/"
            + seamBeanName
            + ".java");

    //
    //		"${" + ISeamParameter.SEAM_PROJECT_SRC_ACTION + "}/
    //		${" + ISeamFacetDataModelProperties.SESSION_BEAN_PACKAGE_PATH + "}/
    //		${" + ISeamParameter.SEAM_LOCAL_INTERFACE_NAME +"}.java", //$NON-NLS-1$ //$NON-NLS-2$
    // //$NON-NLS-3$ //$NON-NLS-4$

    IResource localInterfaceJava =
        seamProjectSrcActionFolder.findMember(
            sessionBeanPackagePath + "/" + seamLocalInterfaceName + ".java");
    assertResourceIsCreatedAndHasNoProblems(
        localInterfaceJava,
        seamProjectSrcActionFolder.toString()
            + "/"
            + sessionBeanPackagePath
            + "/"
            + seamLocalInterfaceName
            + ".java");

    //
    //		"${" + ISeamParameter.SEAM_PROJECT_WEBCONTENT_PATH + "}/
    //		${" + ISeamParameter.SEAM_PAGE_NAME +"}.xhtml",	 //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$

    IResource seamPageNameXhtml = seamProjectWebContentFolder.findMember(seamPageName + ".xhtml");
    assertResourceIsCreatedAndHasNoProblems(
        seamPageNameXhtml, seamProjectWebContentFolder.toString() + "/" + seamPageName + ".xhtml");
  }
  @Override
  void assertNewEntityFilesAreCreatedSuccessfully(AdaptableRegistry data) {
    IEclipsePreferences seamFacetPrefs = SeamCorePlugin.getSeamPreferences(earProject);
    SeamProjectsSet seamPrjSet = new SeamProjectsSet(earProject);

    String sessionBeanPackagePath = getPackagePath(getSessionBeanPackageName(seamFacetPrefs));
    String entityBeanPackagePath = getPackagePath(getEntityBeanPackageName(seamFacetPrefs));

    IContainer seamProjectSrcActionFolder = seamPrjSet.getActionFolder();
    IContainer seamProjectSrcModelFolder = seamPrjSet.getModelFolder();
    IContainer seamProjectWebContentFolder = seamPrjSet.getViewsFolder();

    String seamPageName = data.getValue(ISeamParameter.SEAM_PAGE_NAME);
    String seamMasterPageName = data.getValue(ISeamParameter.SEAM_MASTER_PAGE_NAME);
    String seamEntityClassName = data.getValue(ISeamParameter.SEAM_ENTITY_CLASS_NAME);

    //
    //		"${" + ISeamParameter.SEAM_PROJECT_WEBCONTENT_PATH + "}/
    //		${" + ISeamParameter.SEAM_PAGE_NAME +"}.xhtml", //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$

    IResource seamPageNameXhtml = seamProjectWebContentFolder.findMember(seamPageName + ".xhtml");
    assertResourceIsCreatedAndHasNoProblems(
        seamPageNameXhtml, seamProjectWebContentFolder.toString() + "/" + seamPageName + ".xhtml");

    //
    //		"${" + ISeamParameter.SEAM_PROJECT_WEBCONTENT_PATH + "}/
    //		${" + ISeamParameter.SEAM_MASTER_PAGE_NAME +"}.xhtml",	 //$NON-NLS-1$ //$NON-NLS-2$
    // //$NON-NLS-3$

    IResource seamMasterPageNameXhtml =
        seamProjectWebContentFolder.findMember(seamMasterPageName + ".xhtml");
    assertResourceIsCreatedAndHasNoProblems(
        seamMasterPageNameXhtml,
        seamProjectWebContentFolder.toString() + "/" + seamMasterPageName + ".xhtml");

    //
    //		"${" + ISeamParameter.SEAM_PROJECT_SRC_MODEL + "}/
    //		${" + ISeamFacetDataModelProperties.ENTITY_BEAN_PACKAGE_PATH + "}/
    //		${" + ISeamParameter.SEAM_ENTITY_CLASS_NAME +"}.java", //$NON-NLS-1$ //$NON-NLS-2$
    // //$NON-NLS-3$ //$NON-NLS-4$

    IResource entityClassJava =
        seamProjectSrcModelFolder.findMember(
            entityBeanPackagePath + "/" + seamEntityClassName + ".java");
    assertResourceIsCreatedAndHasNoProblems(
        entityClassJava,
        seamProjectSrcModelFolder.toString()
            + "/"
            + entityBeanPackagePath
            + "/"
            + seamEntityClassName
            + ".java");

    //
    //		"${" + ISeamParameter.SEAM_PROJECT_SRC_ACTION + "}/
    //		${" + ISeamFacetDataModelProperties.SESSION_BEAN_PACKAGE_PATH + "}/
    //		${" + ISeamParameter.SEAM_ENTITY_CLASS_NAME +"}Home.java", //$NON-NLS-1$ //$NON-NLS-2$
    // //$NON-NLS-3$ //$NON-NLS-4$

    IResource entityHomeJava =
        seamProjectSrcActionFolder.findMember(
            sessionBeanPackagePath + "/" + seamEntityClassName + "Home.java");
    assertResourceIsCreatedAndHasNoProblems(
        entityHomeJava,
        seamProjectSrcActionFolder.toString()
            + "/"
            + sessionBeanPackagePath
            + "/"
            + seamEntityClassName
            + "Home.java");

    //
    //		"${" + ISeamParameter.SEAM_PROJECT_SRC_ACTION + "}/
    //		${" + ISeamFacetDataModelProperties.SESSION_BEAN_PACKAGE_PATH + "}/
    //		${" + ISeamParameter.SEAM_ENTITY_CLASS_NAME +"}List.java", //$NON-NLS-1$ //$NON-NLS-2$
    // //$NON-NLS-3$ //$NON-NLS-4$

    IResource entityListJava =
        seamProjectSrcActionFolder.findMember(
            sessionBeanPackagePath + "/" + seamEntityClassName + "List.java");
    assertResourceIsCreatedAndHasNoProblems(
        entityListJava,
        seamProjectSrcActionFolder.toString()
            + "/"
            + sessionBeanPackagePath
            + "/"
            + seamEntityClassName
            + "List.java");
  }