public void testAddSetterForProperty() throws CoreException {
   MarkerResolutionTestUtil.checkResolution(
       project,
       new String[] {"WebContent/WEB-INF/components.xml"},
       PROBLEM_TYPE,
       SeamCoreValidator.MESSAGE_ID_ATTRIBUTE_NAME,
       SeamCoreValidator.UNKNOWN_COMPONENT_PROPERTY_ID,
       AddSetterMarkerResolution.class);
 }
 public void testDuplicateDestroyAnnotationResolution2() throws CoreException {
   MarkerResolutionTestUtil.checkResolution(
       project,
       new String[] {"src/action/org/domain/SeamWebWarTestProject/session/StatelessClass.java"},
       PROBLEM_TYPE,
       SeamCoreValidator.MESSAGE_ID_ATTRIBUTE_NAME,
       SeamCoreValidator.DUPLICATE_DESTROY_MESSAGE_ID,
       DeleteAnnotationMarkerResolution.class);
 }
 public void testDuplicateRemoveAnnotationResolution() throws CoreException {
   MarkerResolutionTestUtil.checkResolution(
       project,
       new String[] {
         "src/action/org/domain/SeamWebWarTestProject/session/StatefulDuplicateRemoveComponent.java"
       },
       PROBLEM_TYPE,
       SeamCoreValidator.MESSAGE_ID_ATTRIBUTE_NAME,
       SeamCoreValidator.DUPLICATE_REMOVE_MESSAGE_ID,
       DeleteAnnotationMarkerResolution.class);
 }
 public void testChangeScopeResolution2() throws CoreException {
   MarkerResolutionTestUtil.checkResolution(
       project,
       new String[] {
         "src/action/org/domain/SeamWebWarTestProject/entity/EntityComponentWithWrongScope.java"
       },
       PROBLEM_TYPE,
       SeamCoreValidator.MESSAGE_ID_ATTRIBUTE_NAME,
       SeamCoreValidator.ENTITY_COMPONENT_WRONG_SCOPE_ID,
       ChangeScopeMarkerResolution.class);
 }
 public void testAddDestroyMethodResolution() throws CoreException {
   MarkerResolutionTestUtil.checkResolution(
       project,
       new String[] {
         "src/action/org/domain/SeamWebWarTestProject/session/StatefulComponentWithoutDestroy.java"
       },
       PROBLEM_TYPE,
       SeamCoreValidator.MESSAGE_ID_ATTRIBUTE_NAME,
       SeamCoreValidator.STATEFUL_COMPONENT_DOES_NOT_CONTAIN_DESTROY_ID,
       AddAnnotatedMethodMarkerResolution.class);
 }
 public void testDuplicateComponentNameResolution2() throws CoreException {
   MarkerResolutionTestUtil.checkResolution(
       project,
       new String[] {
         "src/action/org/domain/SeamWebWarTestProject/session/DuplicateComponent1.java"
       },
       PROBLEM_TYPE,
       SeamCoreValidator.MESSAGE_ID_ATTRIBUTE_NAME,
       SeamCoreValidator.NONUNIQUE_COMPONENT_NAME_MESSAGE_ID,
       RenameAnnotationMarkerResolution.class);
 }
 public void testOnlyComponentClassCanHaveObserverMethodResolution2() throws CoreException {
   MarkerResolutionTestUtil.checkResolution(
       project,
       new String[] {
         "src/action/org/domain/SeamWebWarTestProject/session/NonComponentWithObserverMethod.java"
       },
       PROBLEM_TYPE,
       SeamCoreValidator.MESSAGE_ID_ATTRIBUTE_NAME,
       SeamCoreValidator.OBSERVER_DOESNT_BELONG_TO_COMPONENT_MESSAGE_ID,
       AddAnnotationMarkerResolution.class);
 }