$arguments =
$this->factory->
createArgumentMetadata($this->
signature2(...
));
$this->
assertEquals([ new ArgumentMetadata('foo', self::
class, false, true, null, true
),
new ArgumentMetadata('bar', FakeClassThatDoesNotExist::
class, false, true, null, true
),
new ArgumentMetadata('baz', 'Fake\ImportedAndFake', false, true, null, true
),
],
$arguments);
} public function testSignature3() { $arguments =
$this->factory->
createArgumentMetadata($this->
signature3(...
));
$this->
assertEquals([ new ArgumentMetadata('bar', FakeClassThatDoesNotExist::
class, false, false, null
),
new ArgumentMetadata('baz', 'Fake\ImportedAndFake', false, false, null
),
],
$arguments);
} public function testSignature4() { $arguments =
$this->factory->
createArgumentMetadata($this->
signature4(...
));