Codeception\Module\WPQueriesTest::it_should_throw_if_wploader_and_wpbootstrapper_modules_are_not_loaded_in_module_container PHP Method

it_should_throw_if_wploader_and_wpbootstrapper_modules_are_not_loaded_in_module_container() public method

    public function it_should_throw_if_wploader_and_wpbootstrapper_modules_are_not_loaded_in_module_container()
    {
        $this->expectException('Codeception\\Exception\\ModuleException');
        $this->moduleContainer->hasModule('WPLoader')->willReturn(false);
        $this->moduleContainer->hasModule('WPBootstrapper')->willReturn(false);
        $this->make_instance()->_initialize();
    }