use of org.mule.runtime.api.meta.model.ExternalLibraryModel in project mule by mulesoft.
the class DefaultExtensionModelFactoryTestCase method assertExternalLibraries.
private void assertExternalLibraries(HasExternalLibraries model) {
assertThat(model.getExternalLibraryModels(), is(notNullValue()));
assertThat(model.getExternalLibraryModels(), hasSize(1));
ExternalLibraryModel library = model.getExternalLibraryModels().iterator().next();
assertThat(library.getName(), is(HEISENBERG_LIB_NAME));
assertThat(library.getDescription(), is(HEISENBERG_LIB_DESCRIPTION));
assertThat(library.getRegexMatcher().get(), is(HEISENBERG_LIB_FILE_NAME));
assertThat(library.getRequiredClassName().get(), is(HEISENBERG_LIB_CLASS_NAME));
}
Aggregations