getMethod('adjustColumnPrivileges'); if (PHP_VERSION_ID < 80100) { $method->setAccessible(true); } $ctrl = new SaveController( new ResponseStub(), new Template(), $GLOBALS['db'], $GLOBALS['table'], new Relation($this->dbi), new Transformations(), $this->dbi, $this->createStub(StructureController::class) ); self::assertFalse($method->invokeArgs($ctrl, [[]])); } }