#include "chrome/browser/enterprise/profile_management/saml_response_parser.h"
#include <string>
#include <vector>
#include "base/base64.h"
#include "base/containers/flat_map.h"
#include "base/run_loop.h"
#include "base/strings/stringprintf.h"
#include "base/test/bind.h"
#include "base/test/task_environment.h"
#include "services/data_decoder/public/cpp/test_support/in_process_data_decoder.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace profile_management {
_;
namespace {
const char kValidSAMLResponse[] = …;
const char kHTMLTemplate[] = …;
}
class SAMLResponseParserTest : public testing::Test { … };
TEST_F(SAMLResponseParserTest, RetrievesNoAttributesWithEmptyResponse) { … }
TEST_F(SAMLResponseParserTest, RetrievesNoAttributesWithEmptySAMLResponse) { … }
TEST_F(SAMLResponseParserTest, RetrievesSpecifiedAttributesWithValidResponse) { … }
}