#NEWLINE# def test_entity_find_all_checks( self ) : #NEWLINE# #INDENT# ent = self . entity #NEWLINE# ent . _check_manager . find_all_checks = Mock ( return_value = [ fakes . FakeCloudMonitorCheck ( ) ] ) #NEWLINE# checks = ent . find_all_checks ( ) #NEWLINE# self . assertEqual ( self [ 0 ] . entity , ent )