コード例 #1
0
 public function test_can_add_existing_group_to_menu_wont_duplicate()
 {
     $this->mockContainerMake('test');
     $this->menu->group('test');
     $this->menu->group('test');
     $this->menu->group('test');
     $this->assertInstanceOf('Illuminate\\Support\\Collection', $this->menu->getGroups());
     $this->assertCount(1, $this->menu->getGroups());
 }