/**
  * Initialise product controller with mock dependencies.
  */
 public function setUp()
 {
     parent::setUp();
     $this->imageRepository = $this->mockery(ImageRepository::class);
     $this->tagRepository = $this->makeMock(TagRepository::class);
     $this->productController = new ProductController($this->catalogueRepository(), $this->webUi());
 }
 /**
  * Set up static controller with mock dependencies.
  */
 public function setUp()
 {
     parent::setUp();
     $this->staticController = new StaticController($this->viewFactory(), $this->responseFactory());
 }
 /**
  * Set up tag controller with mock dependencies.
  */
 public function setUp()
 {
     parent::setUp();
     $this->tagRepository = $this->makeMock(TagRepository::class);
     $this->tagController = new TagController($this->tagRepository, $this->viewFactory(), $this->responseFactory());
 }
 /**
  * Set up dashboard controller with mock dependencies.
  */
 public function setUp()
 {
     parent::setUp();
     $this->dashboardController = new DashboardController($this->webUi());
 }
 /**
  * Set up tag controller with mock dependencies.
  */
 public function setUp()
 {
     parent::setUp();
     $this->tagRepository = $this->makeMock(TagRepository::class);
     $this->tagController = new TagController($this->tagRepository, $this->productRepository(), $this->webUi());
 }