public function testIsEmpty() { $b = new Breadcrumbs(); $this->assertTrue($b->isEmpty()); $b->addCrumb('foo', 'bar'); $this->assertFalse($b->isEmpty()); }