public function testAllStaticWithSoftDeletes()
 {
     $this->categories('Child 1', 'SoftCategory')->delete();
     $this->categories('Child 3', 'SoftCategory')->delete();
     $expected = array('Root 1', 'Child 2', 'Child 2.1', 'Root 2');
     $this->assertArraysAreEqual($expected, SoftCategory::all()->lists('name'));
 }
 public function testSoftDeletesEnabledStatic()
 {
     $this->assertFalse(Category::softDeletesEnabled());
     $this->assertTrue(SoftCategory::softDeletesEnabled());
 }