}
public void testSupportsIsolationLevel()
throws Exception
{
Isolation isolation = testCon.getTransactionIsolation();
RepositoryMetaData meta = testRepository.getMetaData();
assertEquals(isolation, meta.getDefaultIsolation());
for (Isolation i : Isolation.values()) {
if (isolation.isCompatibleWith(i)) {
assertTrue(meta.supportsIsolation(i));
}
}
}