use of org.openecard.addon.bind.AppPluginAction in project open-ecard by ecsec.
the class CacheTest method removeSingle.
@Test
public void removeSingle() {
AppPluginActionProxy proxy = new AppPluginActionProxy(null, null);
AddonSpecification spec = new AddonSpecification();
String id = "test";
spec.setId(id);
spec.setVersion("1.0.0");
cache.addAppPluginAction(spec, id, proxy);
// now get it back from the cache
cache.removeCacheEntry(spec, id);
AppPluginAction action = cache.getAppPluginAction(spec, id);
Assert.assertNull(action);
}
Aggregations