def check_have_hashtable_content(hashtable, keys = [], container = nil)
      hashtable = wrapper_hash(hashtable)
      keys = hashtable.keys if keys.empty?

      keys.each do |k|
        begin
          check_have_content hashtable[k.to_s], container
        rescue RSpec::Expectations::ExpectationNotMetError => e
          puts "The key: '#{k}'' has no matched content!!"
          raise
        end
      end
    end
def check_have_hashtable_content(hashtable, keys = [], container = nil)
      hashtable = wrapper_hash(hashtable)
      keys = hashtable.keys if keys.empty?

      keys.each do |k|
        begin
          check_have_content hashtable[k.to_s], container
        rescue RSpec::Expectations::ExpectationNotMetError => e
          puts "The key: '#{k}'' has no matched content!!"
          raise
        end
      end
    end
usage: check_have_hashtable_content hashtable
 usage: check_have_hashtable_content hashtable, [:id, :name]