assertEquals(3, p2.getNumCtorHits());
Provider3 p3 = new Provider3();
assertEquals(2, p3.getNumCtorHits());
Provider4 p4 = new Provider4();
assertEquals(2, p4.getNumCtorHits());
// to actually inspect the list in the 'data' object in the MessageBodyReaders in the ProvidersRegistry would take a lot of
// reflection and hacking. We'll at least confirm that only 5 (due to AssetProvider) are in the ProvidersRegistry.
RestServlet servlet = (RestServlet)this.getServlet();