@Test(expected = WrongItemException.class) public void erroNoOneBuildersHandleItem() throws Exception { ErrorHandler.erroNoOneBuildersHandleItem(Arrays.asList(mBuilder), new Object()); }
public static void erroNoOneBuildersHandleItem(Collection<Builder> builders, Object item) { throw new WrongItemException("No one from registered holder builders:" + builders + " can handle item: " + item.getClass().getSimpleName()); }
ErrorHandler { public static void erroNoOneBuildersHandleItem(Collection<Builder> builders, Object item) { throw new WrongItemException("No one from registered holder builders:" + builders + " can handle item: " + item.getClass().getSimpleName()); } }
ErrorHandler { public static void erroNoOneBuildersHandleItem(Collection<Builder> builders, Object item) { throw new WrongItemException("No one from registered holder builders:" + builders + " can handle item: " + item.getClass().getSimpleName()); } private  ErrorHandler(); }
ErrorHandler { public static void erroNoOneBuildersHandleItem(Collection<Builder> builders, Object item) { throw new WrongItemException("No one from registered holder builders:" + builders + " can handle item: " + item.getClass().getSimpleName()); } private  ErrorHandler(); static void errorBuilderCannotHandleItem(Builder builder, Object item); static void errorMoreThanOneBuildersHandleItem(Collection<Builder> builders, Object item); static void erroNoOneBuildersHandleItem(Collection<Builder> builders, Object item); static void erroNoOneBuildersHaveId(Collection<Builder> values, int builderId); }
ErrorHandler { public static void erroNoOneBuildersHandleItem(Collection<Builder> builders, Object item) { throw new WrongItemException("No one from registered holder builders:" + builders + " can handle item: " + item.getClass().getSimpleName()); } private  ErrorHandler(); static void errorBuilderCannotHandleItem(Builder builder, Object item); static void errorMoreThanOneBuildersHandleItem(Collection<Builder> builders, Object item); static void erroNoOneBuildersHandleItem(Collection<Builder> builders, Object item); static void erroNoOneBuildersHaveId(Collection<Builder> values, int builderId);  }