public function next(string $uriPart): RouteBranch
    {
        foreach( $this->branches as $key => $branch ){
            
            if( $uriPart === $key ){
                return $branch;
            }
        }

        return $this->addBranch($uriPart);
    }