Example #1
0
 /**
  * Tests adding multiple arguments to a Defintion.
  *
  * @return void
  */
 public function testAddArgs()
 {
     $definition = new Definition($this->container, 'League\\Di\\Stub\\Foo');
     $definition->addArgs(array('foo', 'bar'));
     $this->assertAttributeEquals(array('foo', 'bar'), 'arguments', $definition, 'Added arguments should be added to the arguments array.');
 }