Beispiel #1
0
 /**
  * Test that the setConditionals() method throws an InvalidArgumentException when the collection contains a
  * non-conditional.
  *
  * @expectedException \InvalidArgumentException
  */
 public function testThatSetConditionalsThrowsInvalidArgumentExceptionWhenCollectionContainsNonConditional()
 {
     $conditionals = array(null);
     $group = new Group();
     $group->setConditionals($conditionals);
 }