public function testGetName(PluginFromFileSystemStruct
$pluginFromFileSystem, string
$expectedResult): void
{ static::
assertSame($expectedResult,
$pluginFromFileSystem->
getName());
} public static function dataProviderTestGetName(): array
{ return [ [ self::
getPluginFromFileSystemStructWithBaseClass('SwagFoo\\SwagFoo'
),
'SwagFoo',
],
[ self::
getPluginFromFileSystemStructWithBaseClass('Swag\\PayPal\\SwagPayPal\\SwagPayPalExtension'
),
'SwagPayPalExtension',
],
[ self::
getPluginFromFileSystemStructWithBaseClass('//Swag\\PayPal\\SwagPay/Pal\\SwagPayPal-Extension'
),
'SwagPayPal-Extension',
],
[