/**
  * @return int
  */
 public function getJavascriptTickerInterval()
 {
     return $this->config->integerValue('processing.js_ticker.interval', 3);
 }
 /**
  * @test
  */
 public function is_default_integer_returned_when_path_not_exists()
 {
     $arrayReader = new ArrayReader(array('hash' => array('with' => array('nested' => '1'))));
     $this->assertSame(2, $arrayReader->integerValue('hash.with.unknown', 2));
 }
 /**
  * If a limit is present in a task metadata and this limit is greater than zero then the client wants the system
  * to process a source collection in chunks.
  *
  * @return bool
  */
 public function shouldCollectionBeSplitIntoChunks()
 {
     return $this->metadata->integerValue(MessageMetadata::LIMIT) > 0;
 }