[BUGFIX] Fixed the mockObject creation