@Test(expected = NullPointerException.class) public void testNullClassArgumentToUnRegister() throws Exception { handler.unregister(null); }
public CallbackHandler unregister(Class<? extends Callback> callbackClass) { if (callbackClass == null) { throw new NullPointerException("callbackClass"); } dispatchMap.remove(callbackClass); return this; }
DispatchCallbackHandler implements CallbackHandler { public CallbackHandler unregister(Class<? extends Callback> callbackClass) { if (callbackClass == null) { throw new NullPointerException("callbackClass"); } dispatchMap.remove(callbackClass); return this; } }
DispatchCallbackHandler implements CallbackHandler { public CallbackHandler unregister(Class<? extends Callback> callbackClass) { if (callbackClass == null) { throw new NullPointerException("callbackClass"); } dispatchMap.remove(callbackClass); return this; }  }
DispatchCallbackHandler implements CallbackHandler { public CallbackHandler unregister(Class<? extends Callback> callbackClass) { if (callbackClass == null) { throw new NullPointerException("callbackClass"); } dispatchMap.remove(callbackClass); return this; }  DispatchCallbackHandler register(Class<? extends Callback> callbackClass, CallbackHandler callbackHandler); DispatchCallbackHandler registerAll(TypedCallbackHandlerMap callbackHandlers); CallbackHandler unregister(Class<? extends Callback> callbackClass); @Override void handle(Callback[] callbacks); }
DispatchCallbackHandler implements CallbackHandler { public CallbackHandler unregister(Class<? extends Callback> callbackClass) { if (callbackClass == null) { throw new NullPointerException("callbackClass"); } dispatchMap.remove(callbackClass); return this; }  DispatchCallbackHandler register(Class<? extends Callback> callbackClass, CallbackHandler callbackHandler); DispatchCallbackHandler registerAll(TypedCallbackHandlerMap callbackHandlers); CallbackHandler unregister(Class<? extends Callback> callbackClass); @Override void handle(Callback[] callbacks);  }