createDatabaseInterface(); DatabaseInterface::$instance = $dbi; $response = new ResponseRenderer(); $template = new Template(); $controller = new FirstStepController( $response, new Normalization($dbi, new Relation($dbi), new Transformations(), $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' => '

Table is already in second normal form.

', 'primary_key' => 'id', ], $response->getJSONResult()); } }