#NEWLINE# def test_queryUtility_miss_w_default( self ) : #NEWLINE# #INDENT# from zope.interface.declarations import InterfaceClass #NEWLINE# class IFoo ( InterfaceClass ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# ifoo = IFoo ( 'IFoo' ) #NEWLINE# comp = self . _makeOne ( ) #NEWLINE# _default = object ( ) #NEWLINE# self . failUnless ( ( comp . queryUtility ( ifoo , default = _default ) is ifoo ) )