Moer RM-2113 review comments. Renaming SecurityClearance.getClassificationLevel to getClearanceLevel

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@103782 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Neil McErlean
2015-05-06 16:26:50 +00:00
parent 52e8e73ba0
commit 568a7c1dc8
4 changed files with 17 additions and 16 deletions

View File

@@ -26,9 +26,6 @@ import static org.mockito.Matchers.eq;
import static org.mockito.Mockito.verify;
import static org.mockito.Mockito.when;
import java.io.Serializable;
import java.util.Map;
import com.google.common.collect.ImmutableMap;
import org.alfresco.module.org_alfresco_module_rm.classification.ClassificationServiceException.LevelIdNotFound;
import org.alfresco.module.org_alfresco_module_rm.test.util.MockAuthenticationUtilHelper;
@@ -46,6 +43,9 @@ import org.mockito.InjectMocks;
import org.mockito.Mock;
import org.mockito.MockitoAnnotations;
import java.io.Serializable;
import java.util.Map;
/**
* Unit tests for {@link SecurityClearanceServiceImpl}.
*
@@ -97,7 +97,7 @@ public class SecurityClearanceServiceImplUnitTest
final SecurityClearance clearance = securityClearanceServiceImpl.getUserSecurityClearance();
assertEquals("default", clearance.getClassificationLevel().getId());
assertEquals("default", clearance.getClearanceLevel().getId());
}
/** Check that a user can have their clearance set for the first time. */