// Verify the manager is managing the correct provider
Set<InstrumentationProvider> providers = mgr.getProviders();
assertNotNull(providers);
assertEquals(1, providers.size());
InstrumentationProvider provider = providers.iterator().next();
assertEquals(provider.getClass(), SimpleProvider.class);
// Verify the provider has instruments registered for the caches
Set<Instrument> instruments = provider.getInstruments();
assertNotNull(instruments);
assertEquals(3,instruments.size());
// Lightweight verification of the instruments
Instrument inst = provider.getInstrumentByName(DCInstrument.NAME);
assertNotNull(inst);
assertTrue(inst instanceof DataCacheInstrument);
DataCacheInstrument dci = (DataCacheInstrument)inst;
assertEquals(dci.getCacheName(), "default");
inst = provider.getInstrumentByName(QCInstrument.NAME);
assertNotNull(inst);
assertTrue(inst instanceof QueryCacheInstrument);
inst = provider.getInstrumentByName(QSCInstrument.NAME);
assertNotNull(inst);
assertTrue(inst instanceof PreparedQueryCacheInstrument);
}