diff --git a/core/modules/media/tests/src/Kernel/MediaTest.php b/core/modules/media/tests/src/Kernel/MediaTest.php
new file mode 100644
index 0000000..5971f65
--- /dev/null
+++ b/core/modules/media/tests/src/Kernel/MediaTest.php
@@ -0,0 +1,23 @@
+<?php
+
+namespace Drupal\Tests\media\Kernel;
+
+use Drupal\media\Entity\Media;
+
+/**
+ * Tests Media.
+ *
+ * @group media
+ */
+class MediaTest extends MediaKernelTestBase {
+
+  /**
+   * Tests various aspects of a Media entity.
+   */
+  public function testEntity() {
+    $media = Media::create(['bundle' => $this->testMediaType->id()]);
+
+    $this->assertSame($media, $media->setOwnerId($this->user->id()), 'setOwnerId() method returns its own entity.');
+  }
+
+}
