diff --git a/core/modules/rdf/lib/Drupal/rdf/Tests/Field/NumberFieldRdfaTest.php b/core/modules/rdf/lib/Drupal/rdf/Tests/Field/NumberFieldRdfaTest.php
new file mode 100644
index 0000000..6367d20
--- /dev/null
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/Field/NumberFieldRdfaTest.php
@@ -0,0 +1,75 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\rdf\Tests\Field\NumberFieldRdfaTest.
+ */
+
+namespace Drupal\rdf\Tests\Field;
+
+use Drupal\rdf\Tests\Field\FieldRdfaTestBase;
+
+/**
+ * Tests the placement of RDFa in number field formatters.
+ */
+class NumberFieldRdfaTest extends FieldRdfaTestBase {
+
+  /**
+  * {@inheritdoc}
+  */
+  public static $modules = array('number');
+
+  public static function getInfo() {
+    return array(
+      'name'  => 'Field formatter: number',
+      'description'  => 'Tests RDFa output by number field formatters.',
+      'group' => 'RDF',
+    );
+  }
+
+  /**
+   * Tests the integer formatter.
+   */
+  public function testIntegerFormatter() {
+    $this->fieldType = 'number_integer';
+    $this->testValue = 3;
+    $this->createMapping();
+    $this->assertFormatterRdfa($this->fieldType, 'http://schema.org/baseSalary', $this->testValue);
+  }
+
+  /**
+   * Tests the decimal formatter.
+   */
+  public function testDecimalFormatter() {
+    $this->fieldType = 'number_decimal';
+    $this->testValue = 3.33;
+    $this->createMapping();
+    $this->assertFormatterRdfa($this->fieldType, 'http://schema.org/baseSalary', $this->testValue);
+  }
+
+  /**
+   * Tests the float formatter.
+   */
+  public function testFloatFormatter() {
+    $this->fieldType = 'number_float';
+    $this->testValue = 3.33;
+    $this->createMapping();
+    $this->assertFormatterRdfa($this->fieldType, 'http://schema.org/baseSalary', $this->testValue);
+  }
+
+  /**
+   * Create the RDF mapping for the field.
+   */
+  protected function createMapping() {
+    $this->createTestField();
+
+    // Add the mapping.
+    $mapping = rdf_get_mapping('entity_test', 'entity_test');
+    $mapping->setFieldMapping($this->fieldName, array(
+      'properties' => array('schema:baseSalary'),
+    ))->save();
+
+    // Set up test entity.
+    $this->entity = entity_create('entity_test', array());
+    $this->entity->{$this->fieldName}->value = $this->testValue;
+  }
+}
