}
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());
}
public void testCreatePluginAddsTwoBytecodeEntities() throws FileNotFoundException, IOException {
store.createPlugin(new PluginDescription("foo", "wohoo"), new FileInputStream(FILE2));
final PreparedQuery pq = db.prepare(new Query(PluginClassBytecode.class.getSimpleName()));