public function testFillRouteCollection() { $routes = new RouteCollection(); $routes->add("home", new Route('/home')); $routes->add("hello", new Route('/hello')); $routes->add("contact", new Route('/contact')); $this->assertSame(3, $routes->count()); $this->assertSame(3, count($routes)); $this->assertCount(3, $routes); }