public function it_should_switch_to_theme_if_set()
{
$this->config['theme'] = ['foo', 'bar'];
$this->wp->switch_theme('bar')->shouldBeCalled();
$this->wp->WP_CONTENT_DIR()->willReturn('');
$this->wp->do_action('after_switch_theme', 'bar')->shouldBeCalled();
$sut = $this->make_instance();
$sut->_switch_theme();
}