public function testSetMatchRule()
 {
     $c = new ae_CommentfilterModel();
     $c->setMatchRule('/^this is regex\\./i');
     $this->assertEquals($c->getMatchRule(), '/^this is regex\\./i');
     $c->setMatchRule(';^This too is regex\\.$;');
     $this->assertEquals($c->getMatchRule(), ';^This too is regex\\.$;');
     $this->setExpectedException('Exception');
     $c->setMatchRule('not regex');
 }