/**
* Wrong order of valid regexp
*
* @return void
*
* @expectedException CAS_AuthenticationException
* @outputBuffering enabled
*/
public function testAllowedProxiesRegexpFailureWrongOrder()
{
$this->object->setTicket('ST-123456-asdfasdfasgww2323radf3');
$this->object->getAllowedProxyChains()->allowProxyChain(new CAS_ProxyChain(array('/^https\\:\\/\\/anotherdomain.org\\/mysite\\/test2$/', '/http\\:\\/\\/firstproxy\\.com.*$/')));
$result = $this->object->validateCAS20($url, $text_response, $tree_response);
$this->assertFalse($result);
}