public function testSubscribesToOnFlushEvent() { $this->assertEquals([Events::onFlush], $this->target->getSubscribedEvents()); }