示例#1
0
 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();
 }
示例#3
0
 public function setUp()
 {
     parent::setUp();
     $this->repository = $this->createRepository();
     $this->setupInitialData();
 }
示例#4
0
 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();
 }