use of org.kie.workbench.common.services.refactoring.backend.server.query.standard.LibraryValueFileExtensionIndexTerm in project kie-wb-common by kiegroup.
the class LibraryValueFileExtensionIndexTermTest method testSeveralExtensions.
@Test
public void testSeveralExtensions() {
List<String> extensions = Arrays.asList("xml", "java", "drl");
LibraryValueFileExtensionIndexTerm term = new LibraryValueFileExtensionIndexTerm(extensions);
assertEquals(".*(xml|java|drl)", term.getValue());
}
Aggregations