Use Doctrine Platform to generate SQL query for table truncation.
adding unit test to truncate the table