#NEWLINE# def test_has_entity_hit_entity( self ) : #NEWLINE# #INDENT# TYPE = 'type' #NEWLINE# ID = 'id' #NEWLINE# acl = self . _makeOne ( ) #NEWLINE# acl . loaded = True #NEWLINE# entity = acl . entity ( TYPE , self ) #NEWLINE# self . assertTrue ( acl . has_entity ( entity ) )