Esempio n. 1
0
 public function testCanSetLiteralParameterThroughConstructor()
 {
     $validator = new Identical(array('token' => 'foo', 'literal' => true));
     // Default is false
     $validator->setLiteral(true);
     $this->assertTrue($validator->getLiteral());
 }