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

testDeleteWithCustomField() public method

Ensure that when deleting a record which has a custom field defined in the table, that it is still soft deleted.
public testDeleteWithCustomField ( ) : void
return void
    public function testDeleteWithCustomField()
    {
        $tag = $this->tagsTable->get(1);
        $this->tagsTable->delete($tag);
        $query = $this->tagsTable->find();
        $this->assertEquals(1, $query->count());
    }