summaryrefslogtreecommitdiffstats
path: root/test/mocked_property_change_listener.hpp
blob: 5d7a3b5783b65695ff413ae51514db0ae32516f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include "property_change_listener.hpp"

#include <gmock/gmock.h>

namespace phosphor
{
namespace time
{

class MockPropertyChangeListner : public PropertyChangeListner
{
  public:
    MOCK_METHOD1(onModeChanged, void(Mode mode));
    MOCK_METHOD1(onOwnerChanged, void(Owner owner));
};

} // namespace time
} // namespace phosphor
OpenPOWER on IntegriCloud