blob: 4ec7cf0cdaf4e7782206e1be1975007fe40fa734 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef FEATURED_MOCK_FEATURE_LIBRARY_H_
#define FEATURED_MOCK_FEATURE_LIBRARY_H_
#include "featured/feature_library.h"
#include <gmock/gmock.h>
namespace feature {
class PlatformFeaturesMock : public PlatformFeaturesInterface {
public:
MOCK_METHOD(void,
IsEnabled,
(const Feature& feature, IsEnabledCallback callback),
(override));
MOCK_METHOD(bool, IsEnabledBlocking, (const Feature& feature), (override));
};
} // namespace feature
#endif // FEATURED_MOCK_FEATURE_LIBRARY_H_