void () { final VirtualFile personFile = myFixture.copyFileToProject("Person.html"); final VirtualFile addressFile = myFixture.copyFileToProject("Address.html"); ExternalResourceManagerExImpl.registerResourceTemporarily("http://data-vocabulary.org/Person", personFile.getPath(), getTestRootDisposable()); ExternalResourceManagerExImpl.registerResourceTemporarily("http://data-vocabulary.org/Address", addressFile.getPath(), getTestRootDisposable()); doTestInHtml(""" <div itemscope itemtype="http://data-vocabulary.org/Person" > name is <span itemprop="name">ann</span> role is <span itemprop="role">smth</span> <span itemprop="address" itemscope itemtype="http://data-vocabulary.org/Address" itemref="qq"> <span itemprop="locality">spb</span> </span> </div> <div> <span id="qq" itemprop="<caret>">russia</span> </div>""", "street-address", "locality", "region", "postal-code", "country-name" ); }