#NEWLINE# def testGetMissingRequires_requiredParentClass( self ) : #NEWLINE# #INDENT# 'Tests that requiring a parent class of an object is sufficient to prevent\n    a missing require on that object.' #NEWLINE# input_lines = [ "goog.require('package.Foo');" , 'package.Foo.methodName();' , 'package.Foo.methodName(package.Foo.ObjectName);' ] #NEWLINE# namespaces_info = self . _GetNamespacesInfoForScript ( missing_requires , [ 'package' ] ) #NEWLINE# ( missing_requires , _ ) = namespaces_info . GetMissingRequires ( ) #NEWLINE# self . assertEquals ( 0 , len ( missing_requires ) )