@Test public void shouldRegisterComponentAndImplementedInterfaces() { abstractRegistry.deepRegister(RunnableComponent.class); verify(registry).register(Runnable.class, RunnableComponent.class); verify(registry).register(RunnableComponent.class, RunnableComponent.class); }
public final void deepRegister(Class<?> componentType) { deepRegister(componentType, componentType, new HashSet<Class<?>>()); }
AbstractComponentRegistry implements ComponentRegistry { public final void deepRegister(Class<?> componentType) { deepRegister(componentType, componentType, new HashSet<Class<?>>()); } }
AbstractComponentRegistry implements ComponentRegistry { public final void deepRegister(Class<?> componentType) { deepRegister(componentType, componentType, new HashSet<Class<?>>()); }  }
AbstractComponentRegistry implements ComponentRegistry { public final void deepRegister(Class<?> componentType) { deepRegister(componentType, componentType, new HashSet<Class<?>>()); }  final void deepRegister(Class<?> componentType); }
AbstractComponentRegistry implements ComponentRegistry { public final void deepRegister(Class<?> componentType) { deepRegister(componentType, componentType, new HashSet<Class<?>>()); }  final void deepRegister(Class<?> componentType);  }