#DDC-1590: Fix Inheritance in Code-Generation

http://www.doctrine-project.org/jira/browse/DDC-1590
Can you merge these two test assets into the test case file?