PHPExiftool\Test\PHPExiftoolServiceProviderTest::testRegister PHP Метод

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

public testRegister ( )
    public function testRegister()
    {
        $app = $this->getApplication();
        $app->register(new PHPExiftoolServiceProvider());
        $this->assertInstanceOf('PHPExiftool\\Reader', $app['exiftool.reader']);
        $this->assertInstanceOf('PHPExiftool\\Writer', $app['exiftool.writer']);
        $this->assertInstanceOf('PHPExiftool\\Exiftool', $app['exiftool.processor']);
        $this->assertInstanceOf('PHPExiftool\\PreviewExtractor', $app['exiftool.preview-extractor']);
    }
PHPExiftoolServiceProviderTest