public function setUp() { $this->queryBuilder = $this->prophesize(Builder::class); $this->db = $this->prophesize(Connection::class); $this->serializer = $this->prophesize(SerializerInterface::class); $this->eventStore = new DbEventStore($this->db->reveal(), $this->serializer->reveal()); }