public function its_factory_requires_a_token() { $this->beConstructedThrough('factory', [['username' => 'mr.no_token']]); $this->shouldThrow()->duringInstantiation(); }