public function testCheckOverwriteWithFlagEnabled() { $e = $this->prophesize(Entity::class); $e->populatedByService()->willReturn(false); $this->operation->checkOverwrite([$e->reveal()], true); }