public function setUp() { parent::setUp(); $this->usersRepository = new MemoryUsersRepository(); $this->usersRepository->insert(new User(['login' => self::MarieLogin], $this->configurationRepository)); $this->usersRepository->insert(new User(['login' => self::ClarieLogin], $this->configurationRepository)); $this->usersRepository->insert(new User(['login' => self::ClaraLogin], $this->configurationRepository)); }
public function setUp() { parent::setUp(); $this->tokenRepository = new SampleRepository(); }
public function setUp() { parent::setUp(); $this->repository = $this->createRepository(); $this->setupInitialData(); }
public function setUp() { parent::setUp(); $this->repository = new MemoryUsersRepository(); $this->repository->insert(new User(['login' => self::MarieLogin, 'email' => self::MailValue], $this->configurationRepository)); }
public function setUp() { parent::setUp(); $this->usersRepository = new MemoryUsersRepository(); }