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