Bolt\Tests\Events\MountEventTest::testConstructor PHP Метод

testConstructor() публичный Метод

public testConstructor ( )
    public function testConstructor()
    {
        $app = $this->getApp();
        $controllers = new ControllerCollection(new Route('/'));
        $mountEvent = new MountEvent($app, $controllers);
        $this->assertInstanceOf('Bolt\\Events\\MountEvent', $mountEvent);
        $this->assertInstanceOf('Silex\\Application', $mountEvent->getApp());
    }