Example #1
0
 public function testBadClassInvokesDefault()
 {
     $args = array('class' => array(1, 2, 3));
     $form = new Form("default", $args);
     $defaults = $form->getDefaults();
     $attr = $form->getAttributes();
     $this->assertTrue($attr['class'] == $defaults['class']);
 }