### Question:
BaseFormResolver implements FormResolver<T> { @Override public T newProviderConfigurationForm() { return managedInstance.get(); } BaseFormResolver(final ManagedInstance<T> managedInstance); @Override T newProviderConfigurationForm(); @Override void destroyForm(T form);  }### Answer:
@Test public void testNewProviderConfigurationForm() { T result = formResolver.newProviderConfigurationForm(); assertEquals(form, result); verify(managedInstance, times(1)).get(); }