#include "chrome/browser/ui/autofill/payments/offer_notification_bubble_controller_impl.h"
#include "base/test/metrics/histogram_tester.h"
#include "chrome/browser/commerce/coupons/coupon_service.h"
#include "chrome/browser/ui/autofill/autofill_bubble_base.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
#include "chrome/test/base/browser_with_test_window_test.h"
#include "components/autofill/core/browser/autofill_test_utils.h"
#include "components/autofill/core/browser/data_model/autofill_offer_data.h"
#include "components/autofill/core/browser/payments/offer_notification_options.h"
#include "components/autofill/core/common/autofill_payments_features.h"
#include "components/commerce/core/commerce_feature_list.h"
#include "components/strings/grit/components_strings.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/base/l10n/l10n_util.h"
namespace autofill {
namespace {
class TestOfferNotificationBubbleControllerImpl
: public OfferNotificationBubbleControllerImpl { … };
}
class OfferNotificationBubbleControllerImplTest
: public BrowserWithTestWindowTest { … };
TEST_F(OfferNotificationBubbleControllerImplTest, BubbleShown) { … }
TEST_F(OfferNotificationBubbleControllerImplTest,
OfferBubbleDismissesOnNavigation) { … }
TEST_F(OfferNotificationBubbleControllerImplTest,
ShownOfferIsRetrievableFromController) { … }
TEST_F(OfferNotificationBubbleControllerImplTest, GPayPromoCode_BubbleShown) { … }
TEST_F(OfferNotificationBubbleControllerImplTest,
OfferNotificationIconShouldBeExpanded) { … }
}