use of org.eclipse.vorto.repository.api.ModelQueryBuilder in project vorto by eclipse.
the class ModelRepositoryClientTest method testSearchModelBySpecificType.
@Test
public void testSearchModelBySpecificType() throws Exception {
Collection<ModelInfo> models = modelRepo.search(new ModelQueryBuilder().type(ModelType.InformationModel).name("XDK").build()).get();
assertTrue(models.size() > 0);
}
Aggregations