add autogenerated comment blocks to tests dir
[civicrm-core.git] / tests / phpunit / CRM / Extension / Container / CollectionTest.php
index 5d9774a02c4c94c1937312fe043c78650bfd0109..b0f07349bb0d40a121ca5f174610dcbe1a029570 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
-| CiviCRM version 4.3                                                |
+| CiviCRM version 4.5                                                |
 +--------------------------------------------------------------------+
-| Copyright CiviCRM LLC (c) 2004-2013                                |
+| Copyright CiviCRM LLC (c) 2004-2014                                |
 +--------------------------------------------------------------------+
 | This file is a part of CiviCRM.                                    |
 |                                                                    |
 */
 require_once 'CiviTest/CiviUnitTestCase.php';
 
+/**
+ * Class CRM_Extension_Container_CollectionTest
+ */
 class CRM_Extension_Container_CollectionTest extends CiviUnitTestCase {
+  //@todo make BAO enotice compliant  & remove the line below
+  // WARNING - NEVER COPY & PASTE $_eNoticeCompliant = FALSE
+  // new test classes should be compliant.
+  public $_eNoticeCompliant = FALSE;
   function setUp() {
     parent::setUp();
   }
@@ -89,6 +96,12 @@ class CRM_Extension_Container_CollectionTest extends CiviUnitTestCase {
     $this->assertEquals('b', $cacheData['test.whiz']); // 'test.whiz' was defined in the 'b' container
   }
 
+  /**
+   * @param CRM_Utils_Cache_Interface $cache
+   * @param null $cacheKey
+   *
+   * @return CRM_Extension_Container_Collection
+   */
   function _createContainer(CRM_Utils_Cache_Interface $cache = NULL, $cacheKey = NULL) {
     $containers = array();
     $containers['a'] = new CRM_Extension_Container_Static(array(