SoftDelete\Test\TestCase\Model\Table\SoftDeleteBehaviorTest::testFindingWithCustomField PHP Method

testFindingWithCustomField() public method

Using a table with a custom soft delete field, ensure we can still filter the found results properly.
public testFindingWithCustomField ( ) : void
return void
    public function testFindingWithCustomField()
    {
        $query = $this->tagsTable->find();
        $this->assertEquals(2, $query->count());
        $query = $this->tagsTable->find('all', ['withDeleted' => true]);
        $this->assertEquals(3, $query->count());
    }