@Test
public void testWildcardQueriesNoMatch() {

	SchemaService schemaServiceMock = mock(SchemaService.class);
    List<MetricSchemaRecord> records = new ArrayList<>();
    when(schemaServiceMock.get(any(MetricSchemaRecordQuery.class))).thenReturn(records);
    DefaultDiscoveryService discoveryService = new DefaultDiscoveryService(schemaServiceMock, system.getConfiguration(), monitorService);
    Map<String, String> tags = new HashMap<String, String>();
    tags.put("source", "unittest");
    MetricQuery query = new MetricQuery("sdfg*", "ymdasdf*", tags, 1L, 2L);
    List<MetricQuery> queries = discoveryService.getMatchingQueries(query);
    assertEquals(0, queries.size());
}