tests/Routing/RouterTest.php
/**
     * Tests the generation and storage of namespaces via groups.
     */
Tests the generation and storage of namespaces via groups.
Tests the generation and storage of namespaces via groups .
public function testNamespaceGroup()
    {
        $group = $this->router->createNamespaceGroup('TestNamespace', function() {});
        $this->assertEquals('TestNamespace\\', $group->namespacePrefix());
    }
public function testNamespaceGroup ( ) { $ group = $ this -> router -> createNamespaceGroup ( 'TestNamespace' , function ( ) { } ) ; $ this -> assertEquals ( 'TestNamespace\\' , $ group -> namespacePrefix ( ) ) ; }
Tests the generation and storage of namespaces via groups.
Tests the generation and storage of namespaces via groups .