register() public method

Register a new user.
public register ( string $email, string $password, string $name, string $country = 'GB', integer $age = 18 ) : boolean
$email string
$password string
$name string
$country string
$age integer
return boolean
 /**
  * @test
  */
 public function it_returns_false_when_error_in_registration()
 {
     $this->setTokenFromCookiesExpectation();
     $this->setProperty('request', $this->request);
     $this->apiShouldReturnError(3)->assertFalse($this->provider->register('*****@*****.**', 'test', 'name'));
 }