NH-3198, Proposal how to fix - Have Mapping By Code Support Dynamic Comp...

Proposal of a fix:
NH-3198 - Have Mapping By Code Support Dynamic Component Inside Join

There are three adjustments in the code, One new test (Not the best, comparing expected and resulting XML...)

Replaced with 6 tests, checking the hbm mapping-by-code built model