tests/api/api_parser_tests.rb
# Skeleton assertion used for testing Email Text
Skeleton assertion used for testing Email Text
Skeleton assertion used for testing Email Text
def email_text_assert(exp_val, inp_val)
    exp_hash = {}
    unless exp_val.nil?
      exp_hash['from'] = exp_val
      exp_hash['from'] = EmailAddress.new exp_val unless exp_val.is_a? EmailAddress
    end
    exp = expected_response exp_hash
    assert_equal exp, ApiParser.parse_email(inp_val)
  end
def email_text_assert ( exp_val , inp_val ) exp_hash = { } unless exp_val . nil? exp_hash [ 'from' ] = exp_val exp_hash [ 'from' ] = EmailAddress . new exp_val unless exp_val . is_a? EmailAddress end exp = expected_response exp_hash assert_equal exp , ApiParser . parse_email ( inp_val ) end
Skeleton assertion used for testing Email Text
Skeleton assertion used for testing Email Text
exp_val
<not_specific>
inp_val
<not_specific>