createDatabaseInterface();
DatabaseInterface::$instance = $dbi;
$response = new ResponseRenderer();
$template = new Template(new Config());
$relation = new Relation($dbi);
$controller = new FirstStepController(
$response,
new Normalization($dbi, $relation, new Transformations($dbi, $relation), $template),
);
$controller(self::createStub(ServerRequest::class));
self::assertSame([
'legendText' => 'Step 2.1 Find partial dependencies',
'headText' => 'No partial dependencies possible as the primary key ( id ) has just one column.
',
'subText' => '',
'extra' => '