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..a6d18a6
--- /dev/null
+++ b/core/modules/rdf/lib/Drupal/rdf/Tests/Field/NumberFieldRdfaTest.php
@@ -0,0 +1,82 @@
+<?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 {
+
+  /**
+   * The 'value' property value for testing.
+   *
+   * @var string
+   */
+  protected $testValue = 'test_text_value';
+
+  /**
+   * {@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 = 'integer';
+    $this->testValue = 3;
+    $this->createMapping();
+    $this->assertFormatterRdfa(array('type' => $this->fieldType), 'http://schema.org/baseSalary', array('value' => $this->testValue));
+  }
+
+  /**
+   * Tests the decimal formatter.
+   */
+  public function testDecimalFormatter() {
+    $this->fieldType = 'decimal';
+    $this->testValue = 3.33;
+    $this->createMapping();
+    $this->assertFormatterRdfa(array('type' => $this->fieldType), 'http://schema.org/baseSalary', array('value' => $this->testValue));
+  }
+
+  /**
+   * Tests the float formatter.
+   */
+  public function testFloatFormatter() {
+    $this->fieldType = 'float';
+    $this->testValue = 3.33;
+    $this->createMapping();
+    $this->assertFormatterRdfa(array('type' => $this->fieldType), 'http://schema.org/baseSalary', array('value' => $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;
+  }
+}
