Esempio n. 1
0
 /**
  * Include Mockery assertions in PHPUnit.
  */
 protected function assertPostConditions()
 {
     $this->addMockeryExpectationsToAssertionCount();
     $this->closeMockery();
     parent::assertPostConditions();
 }
Esempio n. 2
0
 public function setUp()
 {
     parent::setUp();
     $this->be($this->createUser());
 }
Esempio n. 3
0
 /**
  * Close Mockery.
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->generator()->reset();
 }
Esempio n. 4
0
 public function setUp()
 {
     parent::setUp();
     $this->cleanup();
 }