integrated test using MySql as database storage for Doctrine2.
setUpBeforeClass to generate table.
remove (probably) unnecessary setEntityMap method.
remove fetchEntity, which should be done by CenaManager.
rename Product as Comment, which should be a one-to-many relation with Message.
Message’s text should be “message” text.
renamed property and methods.
add annotation for association between Message and Comment.
add OneToMany association for Message/Comment.