public function testDeleteWithCustomField() { $tag = $this->tagsTable->get(1); $this->tagsTable->delete($tag); $query = $this->tagsTable->find(); $this->assertEquals(1, $query->count()); }