Ejemplo n.º 1
0
 public function test_isNotInList()
 {
     Assert::false($this->foos[0]->isNotInList());
     $foo = new $this->model();
     Assert::true($foo->isNotInList());
 }
Ejemplo n.º 2
0
 /**
  * Tests whether `Breadcrumbs::removeAll()` works correctly.
  *
  * @dataProvider crumbsProvider
  */
 public function testRemoveAll($crumbs)
 {
     $b = new Breadcrumbs($crumbs);
     $b->removeAll();
     Assert::true($b->isEmpty());
 }