common/cpp/src/google_smart_card_common/requesting/remote_call_arguments_conversion_unittest.cc
TEST(ExtractRemoteCallArgumentsOrDie, Basic) {
  std::vector<Value> values;
  values.emplace_back(123);
  values.emplace_back("foo");

  int int_argument = 0;
  std::string string_argument;
  ExtractRemoteCallArgumentsOrDie(kSomeFunc, std::move(values), &int_argument,
                                  &string_argument);
  EXPECT_EQ(int_argument, 123);
  EXPECT_EQ(string_argument, "foo");
}
// As death tests aren't supported, we don't test failure scenarios.
As death tests aren't supported, we don't test failure scenarios.
As death tests aren ' t supported we don ' t test failure scenarios .
TEST(ExtractRemoteCallArgumentsOrDie, Basic) {
  std::vector<Value> values;
  values.emplace_back(123);
  values.emplace_back("foo");
  int int_argument = 0;
  std::string string_argument;
  ExtractRemoteCallArgumentsOrDie(kSomeFunc, std::move(values), &int_argument,
                                  &string_argument);
  EXPECT_EQ(int_argument, 123);
  EXPECT_EQ(string_argument, "foo");
}
TEST ( ExtractRemoteCallArgumentsOrDie , Basic ) { std :: vector < Value > values ; values . emplace_back ( 123 ) ; values . emplace_back ( " " ) ; int int_argument = 0 ; std :: string string_argument ; ExtractRemoteCallArgumentsOrDie ( kSomeFunc , std :: move ( values ) , & int_argument , & string_argument ) ; EXPECT_EQ ( int_argument , 123 ) ; EXPECT_EQ ( string_argument , " " ) ; }
As death tests aren't supported, we don't test failure scenarios.
As death tests aren ' t supported we don ' t test failure scenarios .