diff --git a/tests/src/Kernel/ExternalLibrary/Asset/AssetLibraryTest.php b/tests/src/Kernel/ExternalLibrary/Asset/AssetLibraryTest.php
index 884801c838129b73e3268e89397da27e9d1e1b0e..d6e76f1b70ddee99e85ca93434e718a052f79949 100644
--- a/tests/src/Kernel/ExternalLibrary/Asset/AssetLibraryTest.php
+++ b/tests/src/Kernel/ExternalLibrary/Asset/AssetLibraryTest.php
@@ -82,8 +82,29 @@ class AssetLibraryTest extends ExternalLibraryKernelTestBase {
    */
   public function testAssetLibrary() {
     $library = $this->libraryDiscovery->getLibraryByName('libraries', 'test_asset_library');
-    $this->assertNotEquals(FALSE, $library);
-    $this->assertTrue(is_array($library));
+    $expected = [
+      'version' => '1.0',
+      'css' => [[
+        'weight' => -200,
+        'group' => 0,
+        'type' => 'external',
+        'data' => 'http://example.com/example.css',
+        'version' => '1.0',
+      ]],
+      'js' => [[
+        'group' => -100,
+        'type' => 'external',
+        'data' => 'http://example.com/example.js',
+        'version' => '1.0',
+      ]],
+      'dependencies' => [],
+      'license' => [
+        'name' => 'GNU-GPL-2.0-or-later',
+        'url' => 'https://www.drupal.org/licensing/faq',
+        'gpl-compatible' => TRUE,
+      ]
+    ];
+    $this->assertEquals($expected, $library);
   }
 
 }