 .../taxonomy/tests/src/Kernel/VocabularyTest.php   | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)

diff --git a/core/modules/taxonomy/tests/src/Kernel/VocabularyTest.php b/core/modules/taxonomy/tests/src/Kernel/VocabularyTest.php
new file mode 100644
index 0000000..0c20d8f
--- /dev/null
+++ b/core/modules/taxonomy/tests/src/Kernel/VocabularyTest.php
@@ -0,0 +1,37 @@
+<?php
+
+namespace Drupal\Tests\taxonomy\Kernel;
+
+use Drupal\KernelTests\Core\Entity\EntityKernelTestBase;
+use Drupal\taxonomy\Entity\Vocabulary;
+use Drupal\user\Entity\User;
+
+/**
+ * @group taxonomy
+ */
+class VocabularyTest extends EntityKernelTestBase {
+
+  /**
+   * Modules to enable.
+   *
+   * @var array
+   */
+  public static $modules = ['taxonomy'];
+
+  /**
+   * {@inheritdoc}
+   */
+  protected function setUp() {
+    parent::setUp();
+  }
+
+  public function testAnonymousAccess() {
+    Vocabulary::create([
+      'vid' => 'tags',
+      'name' => 'Tags',
+    ])->save();
+
+    $this->assertTrue(Vocabulary::load('tags')->access('view', User::load(0), TRUE)->isAllowed());
+  }
+
+}
