Ejemplo n.º 1
0
 public function testIdentifierIsMutable()
 {
     $in = new In();
     $in->setIdentifier('foo.bar');
     $this->assertEquals('foo.bar', $in->getIdentifier());
 }
Ejemplo n.º 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());
 }