getMethod('adjustColumnPrivileges'); $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, [[]])); } }