db.commit();
}
public void testGetByAttributeValue() {
try {
@SuppressWarnings("rawtypes")
Property ticker = db.getProperty("Ticker", true);
@SuppressWarnings("unchecked")
List<Chronicle> result = ticker.getChronicles(ticker.scan("SUN"), 42);
assertEquals(2, result.size());
} catch (Exception e) {
fail(e.getMessage());
}
}