/** */ public function testDelete() { $id = 1; $this->fertilizerObjectManager->delete($id)->shouldBeCalledTimes(1); $this->handler->delete($id); }
/** */ public function testDelete() { $id = 1; $this->repository->delete($id)->shouldBeCalledTimes(1); $this->manager->delete($id); }