You are here

class RealisticDummyContentUnitTestCaseDummyFile in Realistic Dummy Content 7

Dummy file, used to test how fields manage files

Hierarchy

Expanded class hierarchy of RealisticDummyContentUnitTestCaseDummyFile

File

api/tests/realistic_dummy_content_api.unit.test, line 10
This file contains the testing code for this module

View source
class RealisticDummyContentUnitTestCaseDummyFile {
  private $value;

  /**
   * Constructor.
   *
   * @param $value
   *   The value to return
   */
  function __construct($value) {
    $this->value = $value;
  }

  /**
   * Returns the dummy value.
   *
   * @return
   *   The value we used when creating this object.
   */
  function Value() {
    return $this->value;
  }

}

Members