#NEWLINE# def _AssertHas( self , current_acl , perm , scope , value = None ) : #NEWLINE# #INDENT# matches = list ( self . _YieldMatchingEntriesJson ( current_acl , perm , scope , value ) ) #NEWLINE# self . assertEqual ( 1 , len ( matches ) )