protected function setUp() { parent::setUp(); $this->sessionStorage = $this->getMock(Store::class, [], [], '', false); $this->urlGenerator = $this->getMock(UrlGenerator::class, [], [], '', false); $this->testInstance = new NavigationBagServiceProvider($this->getApplicationMock()); }
protected function setUp() { parent::setUp(); $this->sessionStorage = $this->getMock(Store::class, [], [], '', false); $this->urlGenerator = $this->getMock(UrlGenerator::class, [], [], '', false); $this->testInstance = new NavigationBag($this->sessionStorage, $this->urlGenerator); }
protected function setUp() { parent::setUp(); $this->viewMock = $this->getMock(Factory::class, [], [], '', false); $this->testInstance = new Scope($this->getApplicationMock()); $this->translatorMock = $this->getMock('Illuminate\\Translation\\Translator', ['trans'], [], '', false); $this->testInstance->setEnvironment($this->viewMock); }
protected function setUp() { parent::setUp(); $this->formBuilderMock = $this->getMock(FormBuilder::class, [], [], '', false); $this->metaQueManager = new MetaQueManager(); $this->metaAttributesMock = $this->getMockForAbstractClass(MetaAttributes::class); $this->metaAttributesMock1 = $this->getMockForAbstractClass(MetaAttributes::class); $this->testInstance = new Form($this->getApplicationMock()); }
protected function setUp() { parent::setUp(); $this->viewFactoryMock = $this->getMock(Factory::class, [], [], '', false); $this->testInstance = new Template($this->getApplicationMock()); $this->testInstance->setEnvironment($this->viewFactoryMock); $this->viewMock = $this->getMock(View::class, [], [], '', false); $this->templateMock1 = $this->getMock(TemplateCompiler::class, [], [], '', false); $this->templateMock2 = $this->getMock(TemplateCompiler::class, [], [], '', false); }