#include "chrome/browser/ui/toasts/api/toast_registry.h"
#include <memory>
#include "base/functional/callback_helpers.h"
#include "chrome/browser/ui/toasts/api/toast_id.h"
#include "chrome/browser/ui/toasts/api/toast_specification.h"
#include "chrome/grit/generated_resources.h"
#include "components/vector_icons/vector_icons.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/models/simple_menu_model.h"
#include "ui/gfx/vector_icon_types.h"
class ToastRegistryTest : public testing::Test { … };
TEST_F(ToastRegistryTest, DefaultToast) { … }
TEST_F(ToastRegistryTest, ToastWithCloseButton) { … }
TEST_F(ToastRegistryTest, ToastWithActionButton) { … }
TEST_F(ToastRegistryTest, ToastWithMenu) { … }
TEST_F(ToastRegistryTest, PersistentToast) { … }
TEST_F(ToastRegistryTest, RegisterSpecification) { … }
TEST_F(ToastRegistryTest, RegisterNullSpecification) { … }
TEST_F(ToastRegistryTest, RegisterDuplicateToastId) { … }
TEST_F(ToastRegistryTest, RetrieveUnregisteredToastId) { … }