def METHOD_NAME(self, init_mock, execute_mock):
    load_configs = common.load_configs # get a static refernce to the real load_configs()
    # Unmodified
    def load_unmodified(filenames, **kwargs):
        trans, _, confs = load_configs(filenames, **kwargs)
        self.assertNotIn('MooseDocs.extensions.listing', confs[0]['Extensions'])
        for ext in trans[0].extensions:
            if isinstance(ext, MooseDocs.extensions.listing.ListingExtension):
                self.assertTrue(ext['modal-link'])
        return trans, [[]], confs
    opt = self.getCommandLineArguments()
    with mock.patch('MooseDocs.common.load_configs', load_unmodified):
        status = build.main(opt)
    # Modified
    def load_modified(filenames, **kwargs):
        trans, _, confs = load_configs(filenames, **kwargs)
        self.assertFalse(confs[0]['Extensions']['MooseDocs.extensions.listing']['modal-link'])
        for ext in trans[0].extensions:
            if isinstance(ext, MooseDocs.extensions.listing.ListingExtension):
                self.assertFalse(ext['modal-link'])
        return trans, [[]], confs
    args = {'Extensions': {'MooseDocs.extensions.listing': {'modal-link': 0}}}
    opt = self.getCommandLineArguments(args=args)
    with mock.patch('MooseDocs.common.load_configs', load_modified):
        status = build.main(opt)
    # Multiple
    def load_multiple(filenames, **kwargs):
        trans, conts, confs = load_configs(filenames, **kwargs)
        # Assert translators
        self.assertEqual(len(trans), 2)
        self.assertIsInstance(trans[0], base.Translator)
        self.assertIsInstance(trans[1], base.Translator)
        self.assertIsNot(*trans)
        self.assertEqual(trans[0].destination, trans[1].destination)
        # Assert that translators have access to the same global pool of non-directory content
        isdir = lambda p: isinstance(p, MooseDocs.tree.pages.Directory)
        sort_local = lambda p: p.local
        page_list = [sorted([p for p in trans[0].getPages() if not isdir(p)], key=sort_local)]
        page_list += [sorted([p for p in trans[1].getPages() if not isdir(p)], key=sort_local)]
        self.assertListEqual(*page_list)
        # Assert build content lists
        self.assertEqual(len(conts), 2)
        self.assertIsInstance(conts[0], list)
        self.assertIsInstance(conts[1], list)
        for page in conts[0]:
            self.assertNotIn(page, conts[1])
        # Assert configurations
        self.assertEqual(len(confs), 2)
        self.assertIsInstance(confs[0], dict)
        self.assertIsInstance(confs[1], dict)
        self.assertNotEqual(*confs)
        self._load_multiple_out = (trans, conts, confs)
        return self._load_multiple_out
    testpath = '../../python/MooseDocs/test/'
    configs = [testpath + config for config in ['config.yml', 'subsite_config.yml']]
    opt = self.getCommandLineArguments(config=configs)
    with mock.patch('MooseDocs.common.load_configs', load_multiple):
        status = build.main(opt)
        _, conts, _ = self._load_multiple_out
        init_mock.assert_any_call(conts[0])
        init_mock.assert_any_call(conts[1])