Skip to content

Commit

Permalink
Count mockery assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
GrahamCampbell committed Sep 18, 2014
1 parent 8410f0f commit 981289c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Traits/HelperTestCaseTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ public function tearDown()

parent::tearDown();

if ($container = Mockery::getContainer()) {
$this->addToAssertionCount($container->mockery_getExpectationCount());
}

Mockery::close();
}

Expand Down

0 comments on commit 981289c

Please sign in to comment.