public function AmpSocialPostTest::testGetProviders in Accelerated Mobile Pages (AMP) 8.3
@covers ::getProviders
File
- tests/
src/ Unit/ AmpSocialPostTest.php, line 30
Class
- AmpSocialPostTest
- @coversDefaultClass \Drupal\amp\Element\AmpSocialPost
Namespace
Drupal\Tests\amp\UnitCode
public function testGetProviders() {
$processed = AmpSocialPost::getProviders();
$this
->assertTrue(is_array($processed));
foreach (static::$providers as $name) {
$this
->assertTrue(array_key_exists($name, $processed));
}
}