@Test
public void testGetMatchingRecords_POST() throws IOException, TokenExpiredException {

    try(ArgusService argusService = new ArgusService(getMockedClient("/DiscoveryServiceTest.json"))) {
        DiscoveryService discoveryService = argusService.getDiscoveryService();
        MetricDiscoveryQuery query = new MetricDiscoveryQuery(null, "scpReg", "*", null, null, 10, null, null);
        MetricDiscoveryResult result = discoveryService.getMatchingRecords(query);
        MetricDiscoveryResult expected = new MetricDiscoveryResult(
        		Arrays.asList(new MetricSchemaRecord[] { _constructPersistedMetricSchemaRecord() }), null);
        assertEquals(expected, result);
    }
}