public void testGetPluginDescription() {
assertNotNull(store.getPluginDescriptionEntity(new PluginDescription("foo", "bar")));
}
public void testCreatePluginAddsPluginDescriptionEntity() throws FileNotFoundException, IOException {
store.createPlugin(new PluginDescription("foo", "wohoo"), new FileInputStream(FILE2));
final PreparedQuery pq = db.prepare(new Query(PluginDescription.class.getSimpleName()));
assertEquals(1, pq.countEntities());
}