public function testLoadShouldStepComponentsAndThemesIntoPlatfrom() { $this->mockComponentManager->shouldReceive("setAllServiceProvidersFrom")->once(); $this->mockComponentManager->shouldReceive("registerServiceProviders")->once(); $this->mockComponentManager->shouldReceive("callBootMethodOfServiceProviders")->once(); $this->mockThemeManager->shouldReceive("setAllServiceProvidersFrom")->once(); $this->mockThemeManager->shouldReceive("registerServiceProviders")->once(); $this->mockThemeManager->shouldReceive("callBootMethodOfServiceProviders")->once(); $this->mockHookManager->shouldReceive("initialsAllResponders")->once(); $this->blogInitializer->load(); }
public function boot(BlogInitializer $blogInitializer) { $blogInitializer->load(); }