#NEWLINE# def test_returns_defaults_if_no_values_set( self ) : #NEWLINE# #INDENT# @ decorators . annotate_arg ( 'bar' , 'unused' ) #NEWLINE# def provide_foo( bar ) : #NEWLINE# #INDENT# pass #NEWLINE# #UNINDENT# provider_decorations = decorators . get_provider_fn_decorations ( provide_foo , [ 'default-arg-name' ] ) #NEWLINE# self . assertEqual ( [ decorators . ProviderDecoration ( 'default-arg-name' , None , scoping . DEFAULT_SCOPE ) ] , self )