Exemplo n.º 1
0
 public function testGetRegexOperands()
 {
     $criterion = new Criterion();
     $this->assertTrue(is_array($criterion->getRegexOperands()));
     $this->assertNotEmpty($criterion->getRegexOperands());
     $expected = array(Criterion::CRITERION_OP_RE);
     $this->assertEquals($expected, $criterion->getRegexOperands());
 }