Beispiel #1
0
 public function testValueSetIsMutable()
 {
     $in = new In();
     $in->setValueSet(array(1, 2));
     $this->assertEquals(array(1, 2), $in->getValueSet());
 }
Beispiel #2
0
 public function testCanPassIdentifierAndValueSetToConstructor()
 {
     $predicate = new In('foo.bar', array(1, 2));
     $this->assertEquals('foo.bar', $predicate->getIdentifier());
     $this->assertEquals(array(1, 2), $predicate->getValueSet());
 }