New utility function to create a parent widget from given params that will be given to addMockEnvironment.
295a377e5d
d70518d04f