Overview

Namespaces

  • Composer
    • Autoload
  • Guzzle
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
        • Header
      • QueryAggregator
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Mock
    • Stream
  • Mockery
    • Adapter
      • Phpunit
    • CountValidator
    • Exception
    • Generator
      • StringManipulation
        • Pass
    • Loader
    • Matcher
  • None
  • Omnipay
    • Common
      • Exception
      • Message
    • Dummy
      • Message
    • Fatzebra
      • Message
  • PHP
  • Symfony
    • Component
      • EventDispatcher
        • Debug
        • DependencyInjection
        • Tests
          • Debug
          • DependencyInjection
      • HttpFoundation
        • File
          • Exception
          • MimeType
        • Session
          • Attribute
          • Flash
          • Storage
            • Handler
            • Proxy
        • Tests
          • File
            • MimeType
          • Session
            • Attribute
            • Flash
            • Storage
              • Handler
              • Proxy
      • Yaml
        • Exception
        • Tests

Classes

  • Symfony\Component\Yaml\Tests\A
  • Symfony\Component\Yaml\Tests\B
  • Symfony\Component\Yaml\Tests\DumperTest
  • Symfony\Component\Yaml\Tests\InlineTest
  • Symfony\Component\Yaml\Tests\ParseExceptionTest
  • Symfony\Component\Yaml\Tests\ParserTest
  • Symfony\Component\Yaml\Tests\YamlTest
  • Overview
  • Namespace
  • Function
  • Tree
 1: <?php
 2: 
 3: namespace Mockery\Adapter\Phpunit;
 4: 
 5: use Mockery;
 6: 
 7: class MockeryTestCase extends \PHPUnit_Framework_TestCase
 8: {
 9:     protected function assertPostConditions()
10:     {
11:         $this->addMockeryExpectationsToAssertionCount();
12:         $this->closeMockery();
13: 
14:         parent::assertPostConditions();
15:     } 
16: 
17:     protected function addMockeryExpectationsToAssertionCount()
18:     {
19:         $container = Mockery::getContainer();
20:         if ($container != null) {
21:             $count = $container->mockery_getExpectationCount();
22:             $this->addToAssertionCount($count);
23:         }
24:     }
25: 
26:     protected function closeMockery()
27:     {
28:         Mockery::close();
29:     }
30: }
31: 
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen