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