#include "components/optimization_guide/core/push_notification_manager.h"
#include "base/test/metrics/histogram_tester.h"
#include "testing/gtest/include/gtest/gtest.h"
_;
SaveArg;
namespace optimization_guide {
class TestDelegate : public PushNotificationManager::Delegate { … };
class MockObserver : public PushNotificationManager::Observer { … };
class AnotherMockObserver : public PushNotificationManager::Observer { … };
class PushNotificationManagerUnitTest : public testing::Test { … };
TEST_F(PushNotificationManagerUnitTest, TestNewNotificationReceived) { … }
TEST_F(PushNotificationManagerUnitTest, TestNewNotificationReceivedNoPayload) { … }
TEST_F(PushNotificationManagerUnitTest, TestAddRemoveObserver) { … }
}