Пример #1
0
 /**
  * @dataProvider constructorPropertyProvider
  */
 public function testAttributeHasCorrectPropertiesSet($required, $multiple, $expect_required, $expect_multiple)
 {
     $attr = new Attribute('foo', $required, $multiple);
     $this->assertSame($expect_required, $attr->isRequired());
     $this->assertSame($expect_multiple, $attr->isMultiple());
 }