# Cop that checks for correct calling of #feature_available?
classFeatureAvailableUsage<RuboCop::Cop::Cop
OBSERVED_METHOD=:feature_available?
LICENSED_FEATURE_LITERAL_ARG_MSG='`feature_available?` should not be called for features that can be licensed (`%s` given), use `licensed_feature_available?(feature)` instead.'
LICENSED_FEATURE_DYNAMIC_ARG_MSG="`feature_available?` should not be called for features that can be licensed (`%s` isn't a literal so we cannot say if it's legit or not), using `licensed_feature_available?(feature)` may be more appropriate."
NOT_ENOUGH_ARGS_MSG='`feature_available?` should be called with two arguments: `feature` and `user`.'