#include "google_apis/gaia/gaia_config.h"
#include <optional>
#include "base/command_line.h"
#include "base/json/json_reader.h"
#include "google_apis/gaia/gaia_switches.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "url/gurl.h"
namespace {
Eq;
IsNull;
const char kTestConfigContents[] = …;
TEST(GaiaConfigTest, ShouldGetURLIfExists) { … }
TEST(GaiaConfigTest, ShouldReturnNullIfURLDoesNotExists) { … }
TEST(GaiaConfigTest, ShouldGetAPIKeyIfExists) { … }
TEST(GaiaConfigTest, ShouldReturnNullIfAPIKeyDoesNotExists) { … }
TEST(GaiaConfigTest, ShouldSerializeContentsToCommandLineSwitch) { … }
}