#include "extensions/common/permissions/base_set_operators.h"
#include <memory>
#include "testing/gtest/include/gtest/gtest.h"
namespace extensions {
namespace {
class TestPermission { … };
}
class TestPermissionSet;
template <>
struct BaseSetOperatorsTraits<TestPermissionSet> { … };
class TestPermissionSet : public BaseSetOperators<TestPermissionSet> { … };
TEST(BaseSetOperatorsTest, Basic) { … }
TEST(BaseSetOperatorsTest, CopyCorrectness) { … }
TEST(BaseSetOperatorsTest, CloningDoesNotReuseItems) { … }
}