示例#1
0
 /**
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new Subscriber(123);
     $this->fixture->setName('John Doe');
     $this->fixture->setEmail('*****@*****.**');
 }
示例#2
0
 /**
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new Comment();
     $this->fixture->_setProperty('uid', 123);
     $this->fixture->_setProperty('hidden', FALSE);
     $this->fixture->_setProperty('deleted', FALSE);
 }
示例#3
0
 /**
  * @return void
  */
 public function setUp()
 {
     parent::setUp();
     $this->fixture = new Post();
 }