diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/TextFieldRdfaTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/TextFieldRdfaTest.php
new file mode 100644
index 0000000..79f44e6
--- /dev/null
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/TextFieldRdfaTest.php
@@ -0,0 +1,98 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\rdf\Tests\TextFieldRdfaTest.
+ */
+
+namespace Drupal\rdf\Tests;
+
+use Drupal\rdf\Tests\Field\FieldRdfaTestBase;
+
+/**
+ * Test the placement of RDFa in text field formatters.
+ */
+class TextFieldRdfaTest extends FieldRdfaTestBase {
+
+  /**
+   * {@inheritdoc}
+   */
+  protected $fieldType = 'text';
+
+  /**
+   * The 'value' property value for testing.
+   *
+   * @var string
+   */
+  protected $testValue = 'test_text_value';
+
+  /**
+   * The 'summary' property value for testing.
+   *
+   * @var string
+   */
+  protected $testSummary = 'test_summary_value';
+
+  /**
+   * Modules to enable.
+   *
+   * @var array
+   */
+  public static $modules = array('text');
+
+  public static function getInfo() {
+    return array(
+      'name'  => 'Field formatter - text',
+      'description'  => 'Tests RDFa output by text field formatters.',
+      'group' => 'RDF',
+    );
+  }
+
+  public function setUp() {
+    parent::setUp();
+
+    $this->createTestField();
+
+    // Add the mapping.
+    $mapping = rdf_get_mapping('entity_test', 'entity_test');
+    $mapping->setFieldMapping($this->fieldName, array(
+      'properties' => array('schema:text'),
+    ))->save();
+
+    // Set up test entity.
+    $this->entity = entity_create('entity_test', array());
+    $this->entity->{$this->fieldName}->value = $this->testValue;
+    $this->entity->{$this->fieldName}->summary = $this->testSummary;
+  }
+
+  /**
+   * Tests the default formatter.
+   */
+  public function testDefaultFormatter() {
+    $this->assertFormatterRdfa('text_default', 'http://schema.org/text', $this->testValue);
+  }
+
+  /**
+   * Tests the plain formatter.
+   */
+  public function testPlainFormatter() {
+    $this->assertFormatterRdfa('text_plain', 'http://schema.org/text', $this->testValue);
+  }
+
+  /**
+   * Tests the summary formatter.
+   *
+   * @todo Check for the summary mapping.
+   */
+  public function testSummaryFormatter() {
+    $this->assertFormatterRdfa('text_summary_or_trimmed', 'http://schema.org/text', $this->testValue);
+  }
+
+  /**
+   * Tests the trimmed formatter.
+   *
+   * @todo Check for the summary mapping.
+   */
+  public function testTrimmedFormatter() {
+    $this->assertFormatterRdfa('text_trimmed', 'http://schema.org/text', $this->testValue);
+  }
+}
