New utility function to create a parent widget from given params that will be given to addMockEnvironment.
810b6aa760
e918271f76
ee2b9fae35