public function testFindOneByLoginAndPassword()
 {
     $this->assertFindByOneSuccess($this->repository->findOneBy(['login' => 'john_doe', 'password' => 'toronto789321']));
 }
 /**
  * @param string $login
  * @param string $password
  *
  * @return \Wonderland\Application\Model\Member
  */
 public function getMemberByLoginAndPassword($login, $password)
 {
     return $this->repository->findOneBy(['login' => $login, 'password' => $password]);
 }