Exemplo n.º 1
0
 public function testGetContainsOperands()
 {
     $criterion = new Criterion();
     $this->assertTrue(is_array($criterion->getContainsOperands()));
     $this->assertNotEmpty($criterion->getContainsOperands());
     $expected = array(Criterion::CRITERION_OP_INC, Criterion::CRITERION_OP_INCI, Criterion::CRITERION_OP_NINC, Criterion::CRITERION_OP_NINCI);
     $this->assertEquals($expected, $criterion->getContainsOperands());
 }