示例#1
0
 /**
  * Tests whether `Breadcrumbs::removeAll()` works correctly.
  *
  * @dataProvider crumbsProvider
  */
 public function testRemoveAll($crumbs)
 {
     $b = new Breadcrumbs($crumbs);
     $b->removeAll();
     $this->assertTrue($b->isEmpty());
 }
示例#2
0
 /**
  * Tests whether `Breadcrumbs::removeAll()` works correctly.
  *
  * @dataProvider crumbsProvider
  */
 public function testRemoveAll($crumbs)
 {
     $b = new Breadcrumbs($crumbs);
     $b->removeAll();
     Assert::true($b->isEmpty());
 }