### Question:
BasicComponentFactory implements Supplier<T> { @Override public T get() { if (classLoader == null) return ClassUtils.newInstance(componentClass); return ClassUtils.newInstance(componentClass, classLoader); } BasicComponentFactory(final Class<T> componentClass);  BasicComponentFactory(final Class<T> componentClass,
                                 final ClassLoader classLoader); @Override T get();  }### Answer:
@Test public void test() { assertNotNull(new BasicComponentFactory<>(BasicComponentFactoryTest.class).get()); }