This commit verifies that the return type of a parameterized instance factory method is properly resolved. Issue: SPR-10411