@Test
public void testGetPersistenceProvidersPositive() throws Exception {

	prepareServicesFile(new String[] {"org.eclipse.virgo.web.enterprise.javax.persistence.extension.TestPersistenceProvider"});
	DefaultPersistenceProviderResolver resolver = new DefaultPersistenceProviderResolver();
	List<PersistenceProvider> persistenceProviders = resolver.getPersistenceProviders();
	Assert.assertEquals("Found Persistence Providers are not the correct number", 1, persistenceProviders.size());
	Assert.assertEquals("Provider not Test Persistence Provider", persistenceProviders.get(0).getClass(),  TestPersistenceProvider.class);
}