Fixed parameters resolution of generated factories (added failing test)
Fixed parameters resolution of generated factories (added fix)
Fixed parameters resolution of generated factories (added failing test)
Fixed parameters resolution of generated factories (added fix)