#include "chrome/browser/extensions/api/notifications/extension_notification_handler.h"
#include <optional>
#include <string>
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/base/testing_profile_manager.h"
#include "content/public/test/browser_task_environment.h"
#include "extensions/common/extension_id.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
static const char kChromeExtensionOrigin[] = …;
static const char kChromeExtensionId[] = …;
static const char kChromeNotificationId[] = …;
class TestExtensionNotificationHandler : public ExtensionNotificationHandler { … };
}
class ExtensionNotificationHandlerTest : public testing::Test { … };
TEST_F(ExtensionNotificationHandlerTest, CloseHandler) { … }
TEST_F(ExtensionNotificationHandlerTest, ClickHandler) { … }
TEST_F(ExtensionNotificationHandlerTest, ClickHandlerButton) { … }
}