### Question:
DefaultPluginRegistry implements PluginRegistry { public Set<Class<?>> getStopClasses() { return stopClasses; } DefaultPluginRegistry(); @SuppressWarnings("unchecked") T lookupPlugin(Class<T> pluginType); void registerPlugin(Object plugin); Set<Class<?>> getStopClasses(); void setStopClasses(Set<Class<?>> stopClasses); List<Class<?>> getAllClasses(Class<?> cls); public Map<Class<?>, List<Object>> pluginMap; }### Answer:
@Test public void testDefaultRegisteredStopClasses() { assertTrue(registry.getStopClasses().contains(Object.class)); assertTrue(registry.getStopClasses().contains(Serializable.class)); assertTrue(registry.getStopClasses().contains(Externalizable.class)); assertTrue(registry.getStopClasses().contains(Comparable.class)); }