/** * Tests whether `Breadcrumbs::count()` works correctly. * * @dataProvider crumbsProvider */ public function testCountBreadcrumbs($crumbs) { $b = new Breadcrumbs($crumbs); $this->assertEquals(count($crumbs), $b->count()); }
/** * Tests whether `Breadcrumbs::count()` works correctly. * * @dataProvider crumbsProvider */ public function testCountBreadcrumbs($crumbs) { $b = new Breadcrumbs($crumbs); Assert::equals(count($crumbs), $b->count()); }