@Test public void testRestrictedBy() throws Exception
{
Collection<RestrictedByItem> rbItems = new ArrayList<RestrictedByItem>();
rbItems.add( new RestrictedByItem( "cn", "sn" ) );
Collection<ACITuple> tuples = getTuples( new ProtectedItem.RestrictedBy( rbItems ) );
// Test wrong scope
assertEquals( 0, filterA.filter( null, tuples, OperationScope.ENTRY, null, null, USER_NAME, null, null, null,
"cn", null, null, null, null ).size() );