function let(MageApp $app, MageStore $mageStore) { $mageStore->getConfig($this->storeConfigKey)->willReturn('some_value'); $app->getStore()->willReturn($mageStore); $services = ['app' => $app]; $this->beConstructedWith($services); }