You are here

public function TaskQueueTest::testKnowsIfFull in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/promises/tests/TaskQueueTest.php \GuzzleHttp\Promise\Test\TaskQueueTest::testKnowsIfFull()

File

vendor/guzzlehttp/promises/tests/TaskQueueTest.php, line 14

Class

TaskQueueTest

Namespace

GuzzleHttp\Promise\Test

Code

public function testKnowsIfFull() {
  $tq = new TaskQueue(false);
  $tq
    ->add(function () {
  });
  $this
    ->assertFalse($tq
    ->isEmpty());
}