/** * Tests removing objects from the store. * * @depends testFind */ public function testRemove() { $this->assertEquals(4, $this->repository->count()); $hobbit = $this->repository->findOneByName('Merry'); $this->repository->delete($hobbit); $this->assertEquals(3, $this->repository->count()); }