@Test public void emptyParamTest() { final RequestMapper mapper = Routes.route().lookup("/v1/param/hello", RequestMethod.GET); Assert.assertNotNull(mapper); try { Components.invoke(mapper, null); } catch (final Throwable e) { Assert.assertEquals(e instanceof ComponentInvokeException, true); } }
public static Object invoke(final RequestMapper mapper) { return invoke(mapper, Maps.newHashMap()); }
Components { public static Object invoke(final RequestMapper mapper) { return invoke(mapper, Maps.newHashMap()); } }
Components { public static Object invoke(final RequestMapper mapper) { return invoke(mapper, Maps.newHashMap()); } private  Components(); }
Components { public static Object invoke(final RequestMapper mapper) { return invoke(mapper, Maps.newHashMap()); } private  Components(); static final void load(); static final void reload(); static final void destroy(); @SuppressWarnings("deprecation") static final Object[] bindParam(final Method method, final Map<String, Object> params, final Object... objs); static Object invoke(final RequestMapper mapper); static final Object invoke(final RequestMapper mapper, final Map<String, Object> parameter, final Object... objs); }
Components { public static Object invoke(final RequestMapper mapper) { return invoke(mapper, Maps.newHashMap()); } private  Components(); static final void load(); static final void reload(); static final void destroy(); @SuppressWarnings("deprecation") static final Object[] bindParam(final Method method, final Map<String, Object> params, final Object... objs); static Object invoke(final RequestMapper mapper); static final Object invoke(final RequestMapper mapper, final Map<String, Object> parameter, final Object... objs);  }