@Test
public void testNonWildcardQuery() {

	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("recordType", "A");
    MetricQuery query = new MetricQuery("system", "runtime", null, 1L, 2L);
    List<MetricQuery> queries = discoveryService.getMatchingQueries(query);
    assertEquals(1, queries.size());
    assertEquals(query, queries.get(0));
}