コード例 #1
0
ファイル: UnitTest.php プロジェクト: hughgrigg/ching-shop
 /**
  * Include Mockery assertions in PHPUnit.
  */
 protected function assertPostConditions()
 {
     $this->addMockeryExpectationsToAssertionCount();
     $this->closeMockery();
     parent::assertPostConditions();
 }
コード例 #2
0
ファイル: ControllerTest.php プロジェクト: prasol/socialrest
 public function setUp()
 {
     parent::setUp();
     $this->be($this->createUser());
 }
コード例 #3
0
 /**
  * Close Mockery.
  */
 public function tearDown()
 {
     parent::tearDown();
     $this->generator()->reset();
 }
コード例 #4
0
ファイル: RepositoryTest.php プロジェクト: prasol/socialrest
 public function setUp()
 {
     parent::setUp();
     $this->cleanup();
 }