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

    try(ArgusService argusService = new ArgusService(getMockedClient("/DiscoveryServiceTest.json"))) {
        DiscoveryService discoveryService = argusService.getDiscoveryService();
        List<MetricSchemaRecord> result = discoveryService.getMatchingRecords("nsReg", "scpReg", "metReg", "tkReg", "tvReg", 1);
        List<MetricSchemaRecord> expected = Arrays.asList(new MetricSchemaRecord[] { _constructPersistedMetricSchemaRecord() });
        assertEquals(expected, result);
    }
}