#include "components/segmentation_platform/internal/selection/segmentation_result_prefs.h"
#include "base/test/task_environment.h"
#include "components/prefs/pref_registry_simple.h"
#include "components/prefs/testing_pref_service.h"
#include "components/segmentation_platform/internal/constants.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace segmentation_platform {
class SegmentationResultPrefsTest : public testing::Test { … };
TEST_F(SegmentationResultPrefsTest, WriteResultAndRead) { … }
TEST_F(SegmentationResultPrefsTest, CorruptedValue) { … }
}