public function testParamRuleConstructsAcceptsVAndN() { $pr = new f\param_rule(array('v' => 'bar', 'n' => 'foo')); $this->assertSame('bar', $pr->getValidator()); $this->assertSame('foo', $pr->getNormalizer()); }