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