Codeception\Module\WPLoaderTest::it_should_allow_to_set_a_child_theme_passing_an_array_of_parent_child PHP Method

it_should_allow_to_set_a_child_theme_passing_an_array_of_parent_child() public method

    public function it_should_allow_to_set_a_child_theme_passing_an_array_of_parent_child()
    {
        $this->config['theme'] = ['foo', 'bar'];
        $sut = $this->make_instance();
        $sut->_setActiveTheme();
        global $wp_tests_options;
        $this->assertNotEmpty($wp_tests_options['template']);
        $this->assertEquals('foo', $wp_tests_options['template']);
        $this->assertNotEmpty($wp_tests_options['stylesheet']);
        $this->assertEquals('bar', $wp_tests_options['stylesheet']);
    }