getMethod('displayHtmlForColumnChange'); $method->setAccessible(true); $ctrl = new ChangeController( $response, new Template(), $GLOBALS['db'], $GLOBALS['table'], new Relation($this->dbi), new Transformations(), $this->dbi ); $method->invokeArgs($ctrl, [null]); $this->assertStringContainsString( '' . "\n", $response->getHTMLResult() ); } }