RM-2130 (Check classification after method execution, filtering results where appropriate)

+review RM-94

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/DEV/ENFORCE@106658 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2015-06-21 21:58:42 +00:00
parent 862fde1e61
commit 24cc5ca519
11 changed files with 87 additions and 217 deletions

View File

@@ -28,7 +28,6 @@ import static org.springframework.extensions.webscripts.GUID.generate;
import java.util.ArrayList;
import org.alfresco.module.org_alfresco_module_rm.classification.ContentClassificationService;
import org.alfresco.module.org_alfresco_module_rm.classification.interceptor.processor.ClassificationPostMethodInvocationException.NotSupportedClassTypeException;
import org.alfresco.module.org_alfresco_module_rm.test.util.BaseUnitTest;
import org.alfresco.service.cmr.repository.NodeRef;
import org.junit.Test;
@@ -46,13 +45,6 @@ public class NodeRefPostMethodInvocationProcessorUnitTest extends BaseUnitTest
@InjectMocks private NodeRefPostMethodInvocationProcessor nodeRefPostMethodInvocationProcessor;
@Mock private ContentClassificationService mockedContentClassificationService;
@Test (expected = NotSupportedClassTypeException.class)
public void testProccessingAnotherClassType()
{
NodeRef nodeRef = generateNodeRef();
nodeRefPostMethodInvocationProcessor.process(nodeRef.getStoreRef());
}
@Test
public void testProcessingNonExistingNode()
{