GObject mock generator