/**
  * @param Menu $menu
  *
  * @return Menu
  */
 public function extendWith(Menu $menu)
 {
     $container = m::mock('Illuminate\\Contracts\\Container\\Container');
     $group = new DefaultGroup($container);
     $group->name('new from extender');
     $menu->addGroup($group);
     $group = new DefaultGroup($container);
     $group->name('original');
     $menu->addGroup($group);
     return $menu;
 }