// read created data from db
$records = $this->connection->fetchAllAssociative('SELECT * FROM import_export_profile'); $translationRecords = $this->getTranslationRecords();
// compare expected and resulting data
static::assertCount($num, $records); foreach($recordsas$record){
publicfunctiontestHeaderFooterCreate(): void { // prepare test data
$num = 5; $data = $this->prepareHeaderFooterTestData($num);
// read created data from db
$records = $this->connection->fetchAllAssociative( 'SELECT *
FROM mail_header_footer mhf
JOIN mail_header_footer_translation mhft
ON mhf.id=mhft.mail_header_footer_id' );