PHP 클래스 Contao\CoreBundle\Test\EventListener\AddToSearchIndexListenerTest

파일 보기 프로젝트 열기: contao/core-bundle

공개 메소드들

메소드 설명
testInstantiation ( ) Tests the object instantiation.
testWithContaoFramework ( ) Tests that the listener does use the response if the Contao framework is booted.
testWithFragment ( ) Tests that the listener does nothing if the request is a fragment.
testWithoutContaoFramework ( ) Tests that the listener does nothing if the Contao framework is not booted.

보호된 메소드들

메소드 설명
setUp ( )

비공개 메소드들

메소드 설명
mockPostResponseEvent ( string | null $requestUri = null ) : PHPUnit_Framework_MockObject_MockObject | Symfony\Component\HttpKernel\Event\PostResponseEvent Returns a PostResponseEvent mock object.

메소드 상세

setUp() 보호된 메소드

protected setUp ( )

testInstantiation() 공개 메소드

Tests the object instantiation.
public testInstantiation ( )

testWithContaoFramework() 공개 메소드

Tests that the listener does use the response if the Contao framework is booted.

testWithFragment() 공개 메소드

Tests that the listener does nothing if the request is a fragment.
public testWithFragment ( )

testWithoutContaoFramework() 공개 메소드

Tests that the listener does nothing if the Contao framework is not booted.