#NEWLINE# def testIsExtraProvide_createdIdentifier( self ) : #NEWLINE# #INDENT# 'Tests that provides for created identifiers are not extra.' #NEWLINE# input_lines = [ "goog.provide('package.Foo.methodName');" , 'package.Foo.methodName = function() {};' ] #NEWLINE# ( token , namespaces_info ) = self . _GetStartTokenAndNamespacesInfoForScript ( input_lines , [ 'package' ] ) #NEWLINE# self . assertFalse ( namespaces_info . IsExtraProvide ( token ) , 'Should not be extra since it is created.' )