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