use Symfony\Component\VarDumper\Cloner\VarCloner;
use Symfony\Component\VarDumper\Dumper\HtmlDumper;
use Symfony\Component\VarDumper\Test\VarDumperTestTrait;
use Symfony\Component\VarDumper\Tests\Fixtures\FooInterface;
class StubCasterTest extends TestCase
{ use VarDumperTestTrait;
public function testArgsStubWithDefaults($foo = 234,
$bar = 456
) { $args =
[new ArgsStub([123
], __FUNCTION__, __CLASS__
)];
$expectedDump = <<<'EODUMP'
array:1 [
0 => {
$foo: 123
}
]
EODUMP;
$this->
assertDumpMatchesFormat($expectedDump,
$args);
}