示例#1
0
 /**
  * @test
  * @covers ::setFullName
  * @covers ::setPhone
  * @covers ::getPhone
  * @covers ::getFullName
  * @covers ::__construct
  * @covers App\Generator::generateId
  */
 public function should_perform_fluent_setters()
 {
     $this->contact->setFullName('Jane Doe')->setPhone('0600651122');
     $this->assertEquals('Jane Doe', $this->contact->getFullName());
     $this->assertEquals('0600651122', $this->contact->getPhone());
 }