/** * @param Pimple\Container $pimple */ function it_adds_parameters_on_pimple($pimple, $loader) { $pimple->offsetSet('hello', 'world')->shouldBeCalled(); $loader->load('config.json')->willReturn(array('hello' => 'world')); $this->configure($pimple, 'config.json'); }