Contao\CoreBundle\Test\Exception\RedirectResponseExceptionTest::testInstantiation PHP Method

testInstantiation() public method

Tests the object instantiation.
public testInstantiation ( )
    public function testInstantiation()
    {
        $exception = new RedirectResponseException('http://example.org');
        $this->assertInstanceOf('Contao\\CoreBundle\\Exception\\RedirectResponseException', $exception);
    }
RedirectResponseExceptionTest