protected function mockContainerMake($name = null, $weight = null)
 {
     $mock = m::mock('Maatwebsite\\Sidebar\\Group');
     $mock->shouldReceive('name');
     $mock->shouldReceive('getName')->andReturn($name);
     $mock->shouldReceive('getWeight')->andReturn($weight);
     $this->container->shouldReceive('make')->with('Maatwebsite\\Sidebar\\Group')->andReturn($mock);
     return $mock;
 }
 protected function mockContainerMakeForAppend()
 {
     $mock = m::mock('Maatwebsite\\Sidebar\\Append');
     $this->container->shouldReceive('make')->with('Maatwebsite\\Sidebar\\Append')->andReturn($mock);
     return $mock;
 }