MockeryTestCaseSetUp.php 616 B

12345678910111213141516171819202122232425262728
  1. <?php
  2. /**
  3. * Mockery (https://docs.mockery.io/)
  4. *
  5. * @copyright https://github.com/mockery/mockery/blob/HEAD/COPYRIGHT.md
  6. * @license https://github.com/mockery/mockery/blob/HEAD/LICENSE BSD 3-Clause License
  7. * @link https://github.com/mockery/mockery for the canonical source repository
  8. */
  9. declare(strict_types=1);
  10. namespace Mockery\Adapter\Phpunit;
  11. trait MockeryTestCaseSetUp
  12. {
  13. protected function setUp(): void
  14. {
  15. parent::setUp();
  16. $this->mockeryTestSetUp();
  17. }
  18. protected function tearDown(): void
  19. {
  20. $this->mockeryTestTearDown();
  21. parent::tearDown();
  22. }
  23. }