public function testCanUseMultipleRulesArrayAsArray()
{
$this->former->withRules(array('foo' => array('required')), array('bar' => array('email')));
// First field
$input = $this->former->text('foo')->__toString();
$this->assertLabel($input, 'foo', true);
$this->assertHTML($this->matchControlGroup(), $input);
$this->assertHTML($this->matchField(array('required' => 'true')), $input);
// Second field
$email = $this->former->text('bar')->__toString();
$this->assertLabel($email, 'bar');
$this->assertHTML($this->matchControlGroup(), $email);
$this->assertHTML($this->matchField(array(), 'email', 'bar'), $email);
}