function it_listens_to_the_config_file(ConfigInterface $configInterface) { $configInterface->getIconPrefix()->willReturn('bar'); $this->create('foo')->render()->shouldReturn("<span class='bar bar-foo'></span>"); }