module Avo::TestHelpers

def has_and_belongs_to_many_field_wrapper(id:, view: :show)

has_and_belongs_to_many_field_wrapper(id: :users, view: :edit)
has_and_belongs_to_many_field_wrapper(id: :users)
Example usage:
Finds the table on the show view for the given has_and_belongs_to_many field id and view
def has_and_belongs_to_many_field_wrapper(id:, view: :show)
  related_field_context(id: id, relation: :has_and_belongs_to_many, view: view)
end