def METHOD_NAME(self):
    self.mf.import_hook('package.subpackage.sub')
    node = self.mf.find_node('package.subpackage.sub')
    self.assertIsInstance(node, modulegraph.SourceModule)
    self.assertEqual(node.identifier, 'package.subpackage.sub')
    node = self.mf.find_node('package')
    self.assertIsInstance(node, modulegraph.NamespacePackage)
    self.mf.import_hook('package.nspkg.mod')
    node = self.mf.find_node('package.nspkg.mod')
    self.assertIsInstance(node, modulegraph.SourceModule)
    self.assertEqual(node.identifier, 'package.nspkg.mod')