Example #1
0
 /**
  * Tests the getStart method.
  *
  * @since   3.4
  *
  * @return  void
  *
  * @testdox getStart() stores result in object cache
  */
 public function testGetStartWritesToCache()
 {
     TestReflection::setValue($this->object, '__state_set', true);
     $this->object->getStart();
     $this->assertArrayHasKey('cf97226bf7fdca1fe5579e6d96dca3c3', TestReflection::getValue($this->object, 'cache'));
 }