public function testRoutesWithEnumTypes()
{
$router = new Routing\Router();
$router->connect('/fruits/{fruittype:(orange|apple)}', 'fruit');
$this->_assertRoute($router, '/fruits/apple', 'fruit', array('fruittype' => 'apple'));
$this->_assertNoRoute($router, '/fruits/pear');
$this->_assertNoRoute($router, '/fruits/llama');
}