public function testAddRulesUsingSpecificationArray() { $o = new AllOf(); $o->addRules(array('Between' => array(1, 2))); $this->assertTrue($o->hasRule('Between')); }
public function test_addRules_using_specification_array() { $o = new AllOf(); $o->addRules(array("Between" => array(1, 2))); $this->assertTrue($o->hasRule('Between')); }