null, null, "cn", null, null, null, null ).size() );
tuples = getTuples( new ProtectedItem.AttributeValue( convert( attributes ) ) );
assertEquals( 1, filterA.filter( null, tuples, OperationScope.ATTRIBUTE_TYPE_AND_VALUE, null, null, USER_NAME,
null, null, null, "cn", new StringValue( "valueA" ), null, null, null ).size() );
assertEquals( 0, filterA.filter( null, tuples, OperationScope.ATTRIBUTE_TYPE_AND_VALUE, null, null, USER_NAME,
null, null, null, "cn", new StringValue( "valueB" ), null, null, null ).size() );
tuples = getTuples( new ProtectedItem.AttributeValue( convert( attributes ) ) );
assertEquals( 0, filterA.filter( null, tuples, OperationScope.ATTRIBUTE_TYPE_AND_VALUE, null, null, USER_NAME,
null, null, null, "sn", new StringValue( "valueA" ), null, null, null ).size() );
}