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

  • RegisterListenersPassTest
  • SubscriberService
  • Overview
  • Namespace
  • Class
  • Tree

Class RegisterListenersPassTest

PHPUnit_Framework_TestCase
Extended by Symfony\Component\EventDispatcher\Tests\DependencyInjection\RegisterListenersPassTest
Namespace: Symfony\Component\EventDispatcher\Tests\DependencyInjection
Located at Tests/DependencyInjection/RegisterListenersPassTest.php
Methods summary
public
# testEventSubscriberWithoutInterface( )

Tests that event subscribers not implementing EventSubscriberInterface trigger an exception.

Tests that event subscribers not implementing EventSubscriberInterface trigger an exception.

Expectedexception

\InvalidArgumentException
public
# testValidEventSubscriber( )
public
# testPrivateEventListener( )

Expectedexception

\InvalidArgumentException

Expectedexceptionmessage

The service "foo" must be public as event listeners are lazy-loaded.
public
# testPrivateEventSubscriber( )

Expectedexception

\InvalidArgumentException

Expectedexceptionmessage

The service "foo" must be public as event subscribers are lazy-loaded.
public
# testAbstractEventListener( )

Expectedexception

\InvalidArgumentException

Expectedexceptionmessage

The service "foo" must not be abstract as event listeners are lazy-loaded.
public
# testAbstractEventSubscriber( )

Expectedexception

\InvalidArgumentException

Expectedexceptionmessage

The service "foo" must not be abstract as event subscribers are lazy-loaded.
public
# testEventSubscriberResolvableClassName( )
public
# testEventSubscriberUnresolvableClassName( )

Expectedexception

\InvalidArgumentException

Expectedexceptionmessage

You have requested a non-existent parameter "subscriber.class"
Omnipay Fat Zebra / Paystream Gateway Module API Documentation API documentation generated by ApiGen