public function testConstruct()
 {
     $queue = new ProcessQueue();
     $counter = new ProcessorCounter();
     $this->assertInstanceOf(\Countable::class, $queue);
     $this->assertAttributeEquals($counter->getCpuCount(), 'limit', $queue);
 }
 public function testGetCpuCount()
 {
     $processorCounter = new ProcessorCounter();
     $processorCount = $processorCounter->getCpuCount();
     $this->assertInternalType('integer', $processorCount);
     $this->assertGreaterThan(0, $processorCount);
 }