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