diff --git a/core/modules/rdf/src/Tests/Field/NumberFieldRdfaTest.php b/core/modules/rdf/src/Tests/Field/NumberFieldRdfaTest.php
new file mode 100644
index 0000000..98c9881
--- /dev/null
+++ b/core/modules/rdf/src/Tests/Field/NumberFieldRdfaTest.php
@@ -0,0 +1,118 @@
+<?php
+/**
+ * @file
+ * Contains \Drupal\rdf\Tests\Field\NumberFieldRdfaTest.
+ */
+
+namespace Drupal\rdf\Tests\Field;
+
+use Drupal\rdf\Tests\Field\FieldRdfaTestBase;
+
+/**
+ * Tests RDFa output by number field formatters.
+ *
+ * @group rdf
+ */
+class NumberFieldRdfaTest extends FieldRdfaTestBase {
+
+  /**
+   * The 'value' property value for testing.
+   *
+   * @var string
+   */
+  protected $testValue = 'test_text_value';
+
+  /**
+   * {@inheritdoc}
+   */
+  public static $modules = array('number');
+
+  /**
+   * 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_with_separator';
+    $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));
+  }
+
+  /**
+   * Tests the decimal formatter.
+   */
+  public function testDecimalFormatterWithSettings() {
+    $this->fieldType = 'decimal_with_separator';
+    $formatter = array(
+      'type' => $this->fieldType,
+      'settings' => array(
+        'prefix' => '$',
+        'suffix' => ' more.',
+        'url_plain' => FALSE,
+      ),
+    );
+    $this->testValue = 3.33;
+    $this->createMapping();
+    $this->assertFormatterRdfa($formatter, '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();
+
+    $mapping->setFieldMapping('field_with_separator', array(
+      'properties' => array('schema:baseSalary'),
+    ))->save();
+
+    // Set up test entity.
+    $this->entity = entity_create('entity_test', array());
+    $this->entity->{$this->fieldName}->value = $this->testValue;
+  }
+
+  /**
+   * Creates the field for testing.
+   */
+  protected function createTestField() {
+    parent::createTestField();
+    entity_create('field_config_with_separator', array(
+      'name' => 'field_with_separator',
+      'entity_type' => 'entity_test',
+      'type' => 'decimal_with_separator',
+      'settings' => array(
+        'decimal_separator' => '.',
+      )
+    ))->save();
+    entity_create('field_instance_config_with_separator', array(
+      'entity_type' => 'entity_test',
+      'field_name' => 'field_with_separator',
+      'bundle' => 'entity_test',
+    ))->save();
+  }
+}
