public function testMoved()
 {
     $dispatcher = Category::getEventDispatcher();
     Category::setEventDispatcher($events = m::mock('Illuminate\\Contracts\\Events\\Dispatcher'));
     $closure = function () {
     };
     $events->shouldReceive('listen')->once()->with('eloquent.moved: ' . get_class(new Category()), $closure, 0);
     Category::moved($closure);
     Category::unsetEventDispatcher();
     Category::setEventDispatcher($dispatcher);
 }