public function testReflectionInstance_somedefaults_params() { $args = Misc::getReflectionArgs((new ReflectionClass("LoopsMiscTest_Mock4"))->getConstructor(), ["arg1" => "test1", "arg3" => "test3"]); $this->assertSame(["test1", "default", "test3"], $args); }