def testGetMissingRequires_required(self):
    input_lines = [
        'goog.require(\'package.Foo\');',
        'package.Foo();'
    ]

    namespaces_info = self._GetNamespacesInfoForScript(input_lines, ['package'])
    missing_requires, _ = namespaces_info.GetMissingRequires()
    self.assertEquals(0, len(missing_requires))
Tests that required namespaces don't cause a missing require.
dataset/ETHPy150Open google/closure-linter/closure_linter/closurizednamespacesinfo_test.py/ClosurizedNamespacesInfoTest.testGetMissingRequires_required