Exemple #1
0
 /**
  * @dataProvider profileSexProvider
  */
 public function testProfileSex($gender, $expected)
 {
     $profile = new Profile();
     $profile->gender = $gender;
     $user = new User();
     $user->fromProfile($profile);
     $this->assertSame($expected, $user->getSex());
 }