Beispiel #1
0
 /**
  * @testdox Allows to mark a user as draft
  * @covers Auth\Entity\User::isDraft
  * @covers Auth\Entity\User::setIsDraft
  */
 public function testSetIsDraft()
 {
     $input = true;
     $this->target->setIsDraft($input);
     $this->assertEquals($input, $this->target->isDraft());
     $input = false;
     $this->target->setIsDraft($input);
     $this->assertEquals($input, $this->target->isDraft());
 }