tests/testthat/test_social_api.R

# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate

context("Test SocialApi")

api.instance <- SocialApi$new()

test_that("PhonePrefix", {
  # tests for PhonePrefix
  # base path: https://v2.namsor.com/NamSorAPIv2
  # [USES 11 UNITS] Infer the likely country and phone prefix, given a personal name and formatted / unformatted phone number.
  # @param character  first.name   
  # @param character  last.name   
  # @param character  phone.number   
  # @return [FirstLastNamePhoneCodedOut]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})

test_that("PhonePrefixBatch", {
  # tests for PhonePrefixBatch
  # base path: https://v2.namsor.com/NamSorAPIv2
  # [USES 11 UNITS] Infer the likely country and phone prefix, of up to 1000 personal names, detecting automatically the local context given a name and formatted / unformatted phone number.
  # @param BatchFirstLastNamePhoneNumberIn  batch.first.last.name.phone.number.in  A list of personal names  (optional)
  # @return [BatchFirstLastNamePhoneCodedOut]

  # uncomment below to test the operation
  #expect_equal(result, "EXPECTED_RESULT")
})
wing328/namsor-r-client documentation built on May 26, 2019, 7:01 p.m.