#DDC-1590: Fix Inheritance in Code-Generation

http://www.doctrine-project.org/jira/browse/DDC-1590
Please use `assertTrue()` and `assertFalse()` here and in the following