public function test_isNotInList() { Assert::false($this->foos[0]->isNotInList()); $foo = new $this->model(); Assert::true($foo->isNotInList()); }
/** * Tests whether `Breadcrumbs::isEmpty()` works correctly. */ public function testIsEmpty() { $b = new Breadcrumbs(); Assert::true($b->isEmpty()); $b->addCrumb('foo', 'bar'); Assert::false($b->isEmpty()); }