Exemple #1
0
 public function testCombinationConstraints()
 {
     $expected = array('$lte' => 25, '$gte' => 10);
     $property = new Property($this->getMockQuery());
     $property->lessThanOrEqualTo(25);
     $property->greaterThanOrEqualTo(10);
     $this->assertEquals($expected, $property->getConstraints());
 }