"getConsumedCount() does not return -1 for binding " + getBinding().getClass().getCanonicalName() + "\neven though its behavior type is " + behavior.name() + "\nfor parameter #" + parameterIndex + " of \n" + method.toGenericString()); "getConsumedCount() must not return 0 for binding " + getBinding().getClass().getCanonicalName() + "\nwhen its behavior type is " + behavior.name() + " and not PROVIDES " + "\nfor parameter #" + parameterIndex + " of \n" + method.toGenericString());