public function its_factory_accepts_a_custom_base_url() { $this->beConstructedThrough('factory', [['url' => self::$mockUrl]]); $this->getBaseUrl()->shouldBe(self::$mockUrl); }