@Test public void testDestroy() throws ResourceInitializationException { FakeBaleenResource annotator = new FakeBaleenResource(true); annotator.initialize(new CustomResourceSpecifier_impl(), Maps.newHashMap()); annotator.destroy(); assertTrue(annotator.destroyed); }
@Override public final void destroy() { monitor.startFunction("destroy"); super.destroy(); doDestroy(); monitor.finishFunction("destroy"); }
BaleenResource extends Resource_ImplBase { @Override public final void destroy() { monitor.startFunction("destroy"); super.destroy(); doDestroy(); monitor.finishFunction("destroy"); } }
BaleenResource extends Resource_ImplBase { @Override public final void destroy() { monitor.startFunction("destroy"); super.destroy(); doDestroy(); monitor.finishFunction("destroy"); }  }
BaleenResource extends Resource_ImplBase { @Override public final void destroy() { monitor.startFunction("destroy"); super.destroy(); doDestroy(); monitor.finishFunction("destroy"); }  @Override final boolean initialize(ResourceSpecifier specifier, Map<String, Object> additionalParams); @Override final void destroy(); }
BaleenResource extends Resource_ImplBase { @Override public final void destroy() { monitor.startFunction("destroy"); super.destroy(); doDestroy(); monitor.finishFunction("destroy"); }  @Override final boolean initialize(ResourceSpecifier specifier, Map<String, Object> additionalParams); @Override final void destroy();  }