expectException(ConverterNotFoundException::class); Stack::convert( self::getImagePath('test.jpg'), self::getImagePath('test.webp'), [ 'converters' => ['invalid-id'] ] ); } public function testCustomConverter() { Stack::convert( self::getImagePath('test.jpg'), self::getImagePath('test.webp'), [ 'converters' => [ '\\WebPConvert\\Tests\\Convert\\TestConverters\\SuccessGuaranteedConverter' ] ] ); $this->addToAssertionCount(1); } }