@Test public void testDestroyNullForm() { formResolver.destroyForm(null); verify(managedInstance, never()).destroy(anyObject()); }
@Override public void destroyForm(T form) { if (form != null) { managedInstance.destroy(form); } }
BaseFormResolver implements FormResolver<T> { @Override public void destroyForm(T form) { if (form != null) { managedInstance.destroy(form); } } }
BaseFormResolver implements FormResolver<T> { @Override public void destroyForm(T form) { if (form != null) { managedInstance.destroy(form); } } BaseFormResolver(final ManagedInstance<T> managedInstance); }
BaseFormResolver implements FormResolver<T> { @Override public void destroyForm(T form) { if (form != null) { managedInstance.destroy(form); } } BaseFormResolver(final ManagedInstance<T> managedInstance); @Override T newProviderConfigurationForm(); @Override void destroyForm(T form); }
BaseFormResolver implements FormResolver<T> { @Override public void destroyForm(T form) { if (form != null) { managedInstance.destroy(form); } } BaseFormResolver(final ManagedInstance<T> managedInstance); @Override T newProviderConfigurationForm(); @Override void destroyForm(T form);  }