public function test_it_should_be_incompatible()
 {
     $updateFromVersion = '2.0.0';
     $setupContext = new SetupContext('', '', $updateFromVersion);
     $dbalConnectionMock = $this->createMock(Connection::class);
     $snippetManagerMock = $this->createMock(\Shopware_Components_Snippet_Manager::class);
     $updater = new Update03DefaultProfileSupport($setupContext, $dbalConnectionMock, $snippetManagerMock);
     $isCompatible = $updater->isCompatible();
     $this->assertFalse($isCompatible);
 }
 public function test_update_should_throw_DuplicateNameException()
 {
     $setProfileNameColumnUniqueUpdater = new Update03DefaultProfileSupport(new SetupContext(self::ANY_VERSION, self::ANY_VERSION, self::ANY_VERSION), $this->getDbalMockThrowsIntegrityConstraintException(), $this->getSnippetManagerMock());
     $this->expectException(DuplicateNameException::class);
     $setProfileNameColumnUniqueUpdater->update();
 }