void () { createFrameworkConfig("my-config.xml"); setupFrameworks(detect()); final MockFacet facet = assertOneElement(FacetManager.getInstance(myModule).getFacetsByType(MockFacetType.ID)); assertTrue(facet.isInitialized()); assertTrue(facet.isConfigured()); assertEquals("my-config.xml", facet.getConfiguration().getData()); }